blog_privacy_selector

blog_privacy_selector

Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-6.0.1

do_action('blog_privacy_selector') is found 2 times:

  • /wp-admin/install.php line 196
    						<label for="blog-norobots"><?php _e( 'Discourage search engines from indexing this site' ); ?></label>
    						<p class="description"><?php _e( 'Note: Neither of these options blocks access to your site &mdash; it is up to search engines to honor your request.' ); ?></p>
    						<?php
    						/** This action is documented in wp-admin/options-reading.php */
    						do_action( 'blog_privacy_selector' );
    					} else {
    						?>
    						<label for="blog_public"><input name="blog_public" type="checkbox" id="blog_public" value="0" <?php checked( 0, $blog_public ); ?> />
    						<?php _e( 'Discourage search engines from indexing this site' ); ?></label>
    						<p class="description"><?php _e( 'It is up to search engines to honor this request.' ); ?></p>
    					<?php } ?>
    
  • /wp-admin/options-reading.php line 203
    	 * open-ended 'Site visibility' heading.
    	 *
    	 * @since 2.1.0
    	 */
    	do_action( 'blog_privacy_selector' );
    	?>
    <?php else : ?>
    	<label for="blog_public"><input name="blog_public" type="checkbox" id="blog_public" value="0" <?php checked( '0', get_option( 'blog_public' ) ); ?> />
    	<?php _e( 'Discourage search engines from indexing this site' ); ?></label>
    	<p class="description"><?php _e( 'It is up to search engines to honor this request.' ); ?></p>
    <?php endif; ?>