PHP Class Message_Board_Admin_Post_Topic

Afficher le fichier Open project: justintadlock/message-board Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( ) : void Sets up needed actions/filters for the admin to initialize.
add_meta_boxes ( object $post ) : void Adds meta boxes needed for the edit post screen.
enqueue_scripts ( ) : void Loads scripts and styles.
get_instance ( ) : object Returns the instance.
load_post ( ) : void Callback function for the load-post.php or load-post-new.php screen.
save_post ( integer $post_id, object $post ) : void Callback for the save_post hook to handle meta boxes.

Method Details

__construct() public méthode

Sets up needed actions/filters for the admin to initialize.
Since: 1.0.0
public __construct ( ) : void
Résultat void

add_meta_boxes() public méthode

Adds meta boxes needed for the edit post screen.
Since: 1.0.0
public add_meta_boxes ( object $post ) : void
$post object
Résultat void

enqueue_scripts() public méthode

Loads scripts and styles.
Since: 1.0.0
public enqueue_scripts ( ) : void
Résultat void

get_instance() public static méthode

Returns the instance.
Since: 1.0.0
public static get_instance ( ) : object
Résultat object

load_post() public méthode

Callback function for the load-post.php or load-post-new.php screen.
Since: 1.0.0
public load_post ( ) : void
Résultat void

save_post() public méthode

Callback for the save_post hook to handle meta boxes.
Since: 1.0.0
public save_post ( integer $post_id, object $post ) : void
$post_id integer
$post object
Résultat void