remove_option_whitelist [ WordPress Function ]
remove_option_whitelist ( $del_options, $options = '' )
| Parameters: |
|
| Returns: |
|
| Defined at: |
|
Soorgelijke functies: add_option_whitelist, remove_option_update_handler, remove_action, remove_all_filters, screen_options
{@internal Missing Short Description}}
Source
<?php
function remove_option_whitelist( $del_options, $options = '' ) {
if ( $options == '' )
global $whitelist_options;
else
$whitelist_options = $options;
foreach ( $del_options as $page => $keys ) {
foreach ( $keys as $key ) {
if ( isset($whitelist_options[ $page ]) && is_array($whitelist_options[ $page ]) ) {
$pos = array_search( $key, $whitelist_options[ $page ] );
if ( $pos !== false )
unset( $whitelist_options[ $page ][ $pos ] );
}
}
}
return $whitelist_options;
}
?>
Examples [ wp-snippets.com ]
Top Google zoekresultaten
- WordPress › Support » nofollow plugin?
... array( 'blog_public' ), ); $whitelist = remove_option_whitelist( $removed, $ whitelist ); return $whitelist; } add_filter( 'whitelist_options', 'ds_whitelist_options' ); ?
wordpress.org - Docs for page plugin.php
unknown remove_option_whitelist (unknown_type $del_options, [unknown_type $options = '']). unknown_type $del_options; unknown_type $options ...
phpdoc.wordpress.org - remove reading static page setting :: WP Questions :: Our Experts ...
Nov 18, 2011 ... Last edited: 11/18/11 8:28pm. Gabriel Reguly says: Hi RNWest, --Edit: Sorry, remove_option_whitelist( 'reading' ) seems to be the correct code.
wpquestions.com - add_option_whitelist() WordPress function reference, arguments ...
... delete_user_option() · form_option() · get_alloptions() · 16 more... ...whitelist... remove_option_whitelist() · created R powered WP, HC, BS hosted LW.
queryposts.com