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
1690
1691                     /**
1692                      * Fires once for each column in Bulk Edit mode.
1693                      *
1694                      * @since 2.7.0
1695                      *
1696                      * @param string  $column_name Name of the column to edit.
1697                      * @param WP_Post $post_type   The post type slug.
1698                      */
1699                     do_action( 'bulk_edit_custom_box', $column_name, $screen->post_type );
1700                } else {
1701
1702                     /**
1703                      * Fires once for each column in Quick Edit mode.
1704                      *
1705                      * @since 2.7.0
1706                      *
1707                      * @param string $column_name Name of the column to edit.
1708                      * @param string $post_type   The post type slug.