WP_Site_Icon::__construct

Advertisement

Summery Summery

Registers actions and filters.

Syntax Syntax

WP_Site_Icon::__construct()

Source Source

File: wp-admin/includes/class-wp-site-icon.php

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

Advertisement

Changelog Changelog

Changelog
Version Description
4.3.0 Introduced.

Advertisement

Leave a Reply