Source View: bulk_edit_custom_box

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

  • Action hooks look like this: do_action( "hook_name" )
  • Filter hooks look like this: apply_filters( "hook_name", "what_to_filter" ).

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
1723
1724                     /**
1725                      * Fires once for each column in Bulk Edit mode.
1726                      *
1727                      * @since 2.7.0
1728                      *
1729                      * @param string  $column_name Name of the column to edit.
1730                      * @param WP_Post $post_type   The post type slug.
1731                      */
1732                     do_action( 'bulk_edit_custom_box', $column_name, $screen->post_type );
1733                } else {
1734
1735                     /**
1736                      * Fires once for each column in Quick Edit mode.
1737                      *
1738                      * @since 2.7.0
1739                      *
1740                      * @param string $column_name Name of the column to edit.
1741                      * @param string $post_type   The post type slug.