wppaste
WordPress

do_action_deprecated( 'dbx_post_advanced', WP_Post $post )

Since
2.1.0
Fires in the middle of built-in meta box registration.

Compatibility

Deprecated in WordPress 3.7.0. Use {@see 'add_meta_boxes'} instead.

WordPress
since 2.1.0
  • 6.7.7
  • 6.8.8
  • 6.9.7
  • 7.0.4
  • 7.1.0

Present in every tracked release (6.7.7 to 7.1.0).

Parameters

$postWP_Post
Post object.

Where this hook fires · 1

  • wp-admin/includes/meta-boxes.php:1672register_and_do_post_meta_boxes()

Source code

	 *	 * @since 2.1.0	 * @deprecated 3.7.0 Use {@see 'add_meta_boxes'} instead.	 *	 * @param WP_Post $post Post object.	 */	do_action_deprecated( 'dbx_post_advanced', array( $post ), '3.7.0', 'add_meta_boxes' ); 	/*	 * Allow the Discussion meta box to show up if the post type supports comments,	 * or if comments or pings are open.	 */	if ( comments_open( $post ) || pings_open( $post ) || post_type_supports( $post_type, 'comments' ) ) {

Changelog

Introduced in 2.1.0. Unchanged from 6.7.7 through 7.1.0.

  1. 6.7.7
  2. 6.8.8
  3. 6.9.7
  4. 7.0.4
  5. 7.1.0

Signature, return type and hooks compared across 5 parsed releases.

3.7.0
Deprecated. Use 'add_meta_boxes' instead.from the docblock
2.1.0
Introduced.from the docblock

About this page

Parsed data
Generated from the wordpress-develop 6.8.8 tag, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
Corrections
Something wrong on this page? Report it and it gets fixed in the next regeneration.