Skip to content

Instantly share code, notes, and snippets.

@qstudio
Created August 29, 2020 18:49
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
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