register_block_core_site_icon_setting() – Register a core site setting for a site icon

You appear to be a bot. Output may be restricted

Description

Register a core site setting for a site icon

Usage

register_block_core_site_icon_setting();

Parameters

Returns

void

Source

File name: wordpress/wp-includes/blocks/site-logo.php
Lines:

1 to 11 of 11
function register_block_core_site_icon_setting() {
  register_setting(
    'general',
    'site_icon',
    array(
      'show_in_rest' => true,
      'type'         => 'integer',
      'description'  => __( 'Site icon.' ),
    )
  );
}
 

 View on GitHub View on Trac