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
1662
1663                     /**
1664                      * Fires once for each column in Bulk Edit mode.
1665                      *
1666                      * @since 2.7.0
1667                      *
1668                      * @param string  $column_name Name of the column to edit.
1669                      * @param WP_Post $post_type   The post type slug.
1670                      */
1671                     do_action( 'bulk_edit_custom_box', $column_name, $screen->post_type );
1672                } else {
1673
1674                     /**
1675                      * Fires once for each column in Quick Edit mode.
1676                      *
1677                      * @since 2.7.0
1678                      *
1679                      * @param string $column_name Name of the column to edit.
1680                      * @param string $post_type   The post type slug.