PUM_Admin_Themes::init()

Hook the initialize method to the WP init action.


Description Description


Source Source

File: classes/Admin/Themes.php

	public static function init() {
		/** Regitster Metaboxes */
		add_action( 'add_meta_boxes', array( __CLASS__, 'meta_box' ) );

		/** Process meta saving. */
		add_action( 'save_post', array( __CLASS__, 'save' ), 10, 2 );
	}


Top ↑

User Contributed Notes User Contributed Notes

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