-
Notifications
You must be signed in to change notification settings - Fork 16
Hooks & Filters
Ben Huson edited this page Jul 2, 2014
·
19 revisions
Change the title of the Subtitle meta box when editing a post.
$title
(string) The title of the meta box.
Default: "Subtitle"
$post_type
(string) (optional) The post type being filtered.
Filter the post subtitle.
Parameters:
- $subtitle string The subtitle.
- $post object Post object.
Add descriptive text below the subtitle field when editing a post.
Parameters:
- $description string The description.
- $post object Post object.
If using WordPress 3.5+ and WP Subtitle 2.2+, then the subtitle field in the admin is positioned below the main title field. If you would prefer to revert back to editing the subtitle field in a meta box you can use this filter to return false. This can be done for specific post types.
Parameters:
- $bool bool Use the meta box?
- $post string Post type.