edit_form_advanced WordPress Action Hook

The edit_form_advanced hook is used to add extra fields to the post editor screen. This hook is typically used to add custom fields to a post, but can also be used to add other fields or modify the default fields.

do_action( 'edit_form_advanced', WP_Post $post ) #

Fires after ‘normal’ context meta boxes have been output for all post types other than ‘page’.


Parameters

$post

(WP_Post)Post object.


Top ↑

Source

File: wp-admin/edit-form-advanced.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
1.5.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.