blog_privacy_selector

blog_privacy_selector

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-6.7

do_action('blog_privacy_selector') is found 2 times:

  • /wp-admin/install.php line 206
    						<label for="blog-norobots"><?php _e( 'Discourage search engines from indexing this site' ); ?></label>
    						<p id="public-desc" class="description"><?php _e( 'Note: Discouraging search engines does not block 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" aria-describedby="privacy-desc" value="0" <?php checked( 0, $blog_public ); ?> />
    						<?php _e( 'Discourage search engines from indexing this site' ); ?></label>
    						<p id="privacy-desc" class="description"><?php _e( 'It is up to search engines to honor this request.' ); ?></p>
    					<?php } ?>
    
  • /wp-admin/options-reading.php line 240
    	 * 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; ?>