Switch language

wpseek.com
A WordPress-centric search engine for devs and theme authors




is_protected_meta [ WordPress Function ]

is_protected_meta ( $meta_key, $meta_type = null )
Parameters:
  • (string) $meta_key Meta key
Returns:
  • (bool) True if the key is protected, false otherwise.
Defined at:



Determine whether a meta key is protected

Source


<?php
function is_protected_meta$meta_key$meta_type null ) {
    
$protected = ( '_' == $meta_key[0] );

    return 
apply_filters'is_protected_meta'$protected$meta_key$meta_type );
}
?>

Examples [ wp-snippets.com ]

Top Google zoekresultaten

Meer ...

Gebruikersdiscussies [ wordpress.org ]

0 User Note(s)

Nog geen één. Wees de eerste!

Nieuw toevoegen ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics