WP_Site_Icon::__construct()publicWP 4.3.0

Registers actions and filters.

Method of the class: WP_Site_Icon{}

No Hooks.

Return

null. Nothing (null).

Usage

$WP_Site_Icon = new WP_Site_Icon();
$WP_Site_Icon->__construct();

Changelog

Since 4.3.0 Introduced.

WP_Site_Icon::__construct() code WP 6.5.2

public function __construct() {
	add_action( 'delete_attachment', array( $this, 'delete_attachment_data' ) );
	add_filter( 'get_post_metadata', array( $this, 'get_post_metadata' ), 10, 4 );
}