I\'m using this function to get an array of custom meta fields in WordPress
$my_var = get_meta_values( \'keywords\' ); if( !empty( $my_var ) ) { $meta_counts
you can get 13 words or phrases by this
$words = array_map('trim', explode(',', implode(',', array_keys($meta_counts))));