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
1235
1236                     /**
1237                      * Fires once for each column in Bulk Edit mode.
1238                      *
1239                      * @since 2.7.0
1240                      *
1241                      * @param string  $column_name Name of the column to edit.
1242                      * @param WP_Post $post_type   The post type slug.
1243                      */
1244                     do_action( 'bulk_edit_custom_box', $column_name, $screen->post_type );
1245                } else {
1246
1247                     /**
1248                      * Fires once for each column in Quick Edit mode.
1249                      *
1250                      * @since 2.7.0
1251                      *
1252                      * @param string  $column_name Name of the column to edit.
1253                      * @param WP_Post $post_type   The post type slug.