WP_Site_Icon::__construct()
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() WP Site Icon:: construct code WP 6.7.1
public function __construct() { add_action( 'delete_attachment', array( $this, 'delete_attachment_data' ) ); add_filter( 'get_post_metadata', array( $this, 'get_post_metadata' ), 10, 4 ); }