Action hook 'dbx_post_sidebar'

in WP Core File wp-admin/edit-form-advanced.php at line 756

View Source

dbx_post_sidebar

Action Hook
Description
Fires after all meta box sections have been output, before the closing #post-body div.

Hook Information

File Location wp-admin/edit-form-advanced.php View on GitHub
Hook Type Action
Line Number 756

Hook Parameters

Type Name Description
WP_Post $post Post object.

Usage Examples

Basic Usage
<?php
// Hook into dbx_post_sidebar
add_action('dbx_post_sidebar', 'my_custom_function', 10, 1);

function my_custom_function($post) {
    // Your custom code here
}

Source Code Context

wp-admin/edit-form-advanced.php:756 - How this hook is used in WordPress core
<?php
 751   *
 752   * @since 2.1.0
 753   *
 754   * @param WP_Post $post Post object.
 755   */
 756  do_action( 'dbx_post_sidebar', $post );
 757  
 758  ?>
 759  </div><!-- /post-body -->
 760  <br class="clear" />
 761  </div><!-- /poststuff -->

PHP Documentation

<?php
/**
 * Fires after all meta box sections have been output, before the closing #post-body div.
 *
 * @since 2.1.0
 *
 * @param WP_Post $post Post object.
 */
Quick Info
  • Hook Type: Action
  • Parameters: 1
  • File: wp-admin/edit-form-advanced.php
Related Hooks

Related hooks will be displayed here in future updates.