WordPress at a glance
action is not described

blog_privacy_selector action-hook . WP 2.1.0

Enable 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:

  1. Disable the single checkbox in favor of a multiple-choice list of radio buttons.
  2. 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.


add_action( 'blog_privacy_selector', 'action_function_name_8143' );
function action_function_name_8143(){
	// action...

Список изменений

С версии 2.1.0 Введена.

Где вызывается хук

В файле: /wp-admin/options-reading.php
wp-admin/options-reading.php 200
do_action( 'blog_privacy_selector' );
wp-admin/install.php 196
do_action( 'blog_privacy_selector' );

Где используется хук в ядре WP

Использование не найдено.