Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
// common keys -- could be built using a seperate query ##
\add_filter( 'q/eud/admin/meta_keys_common', [ get_class(), 'meta_keys_common' ], 10, 1 )
/**
* Return list of commmon keys
*
* @since 2.0.0
*/
public static function meta_keys_common()
{
// common keys ##
$array = [
'example_usermeta_key',
'first_name',
'q_'
];
// return ##
return $array;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment