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 ]

Google Arama Sonuçlarý

Dahasý ...

Kullanýcý Tartýþmalarý [ wordpress.org ]

- Bulunamadý -

Yeni bir konu yaz ...

0 User Note(s)

Henüz yok. Ýlk sen ol!

Yeni Ekle ...



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