Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@qstudio
Created August 29, 2020 18:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save qstudio/ba747e9ec450d0c44c88bc221edc3f9d to your computer and use it in GitHub Desktop.
Save qstudio/ba747e9ec450d0c44c88bc221edc3f9d to your computer and use it in GitHub Desktop.
// 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