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. |
public __construct ( ) : void | ||
Résultat | void |
public add_meta_boxes ( object $post ) : void | ||
$post | object | |
Résultat | void |
public enqueue_scripts ( ) : void | ||
Résultat | void |
public static get_instance ( ) : object | ||
Résultat | object |