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.


Top ↑

Source

File: wp-admin/includes/meta-boxes.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
4.9.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.