page_attributes_misc_attributes WordPress Action Hook
The page_attributes_misc_attributes hook is used to add extra fields to the "Page Attributes" metabox on the edit page screen in WordPress. This hook can be used to add custom fields to the page attributes metabox, or to modify the default fields that are displayed.
do_action( 'page_attributes_misc_attributes', WP_Post $post ) #
Fires before the help hint text in the ‘Page Attributes’ meta box.
Parameters
- $post
(WP_Post)The current post.
Source
Changelog
Version | Description |
---|---|
4.9.0 | Introduced. |