WP_Site_Icon::__construct()

In this article

Registers actions and filters.

Source

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

Changelog

VersionDescription
4.3.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.