Method |
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. |
|
editor_settings ( array $settings ) : array |
Changes the editor's default height to 175px since it's merely being used as a description. |
|
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. |
|
the_editor ( string $html ) : string |
Makes sure the editor's height stays the same. Adds the placeholder attribute to the
editor |