blog_privacy_selector
Enables the legacy 'Site visibility' privacy options.
By default the privacy options form displays a single checkbox to 'discourage' search engines from indexing the site. Hooking to this action serves a dual purpose:
- Disable the single checkbox in favor of a multiple-choice list of radio buttons.
- Open the door to adding additional radio button choices to the list.
Hooking to this action also converts the 'Search engine visibility' heading to the more open-ended 'Site visibility' heading.
Usage
add_action( 'blog_privacy_selector', 'wp_kama_blog_privacy_selector_action' );
/**
* Function for `blog_privacy_selector` action-hook.
*
* @return void
*/
function wp_kama_blog_privacy_selector_action(){
// action...
}Changelog
| Since 2.1.0 | Introduced. |
Where the hook is called
In file: /wp-admin/options-reading.php
blog_privacy_selector
wp-admin/options-reading.php 227
do_action( 'blog_privacy_selector' );
wp-admin/install.php 198
do_action( 'blog_privacy_selector' );