WP hooks navigation: Home/browse • Actions index • Filters index
To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).
The best way to understand what a hook does is to look at where it occurs in the source code.
do_action( "hook_name" )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.
This hook occurs 2 times in this file.
| Line | Code |
|---|---|
| 237 | </div></fieldset> |
| 238 | |
| 239 | <?php |
| 240 | |
| 241 | $core_columns = array( 'cb' => true, 'description' => true, 'name' => true, 'slug' => true, 'posts' => true ); |
| 242 | |
| 243 | foreach ( $columns as $column_name => $column_display_name ) { |
| 244 | if ( isset( $core_columns[$column_name] ) ) |
| 245 | continue; |
| 246 | do_action( 'quick_edit_custom_box', $column_name, $type ); |
| 247 | } |
| 248 | |
| 249 | ?> |
| 250 | |
| 251 | <p class="inline-edit-save submit"> |
| 252 | <a accesskey="c" href="#inline-edit" title="<?php _e('Cancel'); ?>" class="cancel button-secondary alignleft"><?php _e('Cancel'); ?></a> |
| 253 | <?php $update_text = ( $is_tag ) ? __( 'Update Tag' ) : __( 'Update Category' ); ?> |
| 254 | <a accesskey="s" href="#inline-edit" title="<?php echo attribute_escape( $update_text ); ?>" class="save button-primary alignright"><?php echo $update_text; ?></a> |
| 255 | <img class="waiting" style="display:none;" src="images/loading.gif" alt="" /> |
| Line | Code |
| 1171 | |
| 1172 | </div> |
| 1173 | |
| 1174 | </div></fieldset> |
| 1175 | |
| 1176 | <?php |
| 1177 | foreach ( $columns as $column_name => $column_display_name ) { |
| 1178 | if ( isset( $core_columns[$column_name] ) ) |
| 1179 | continue; |
| 1180 | do_action( $bulk ? 'bulk_edit_custom_box' : 'quick_edit_custom_box', $column_name, $type); |
| 1181 | } |
| 1182 | ?> |
| 1183 | <p class="submit inline-edit-save"> |
| 1184 | <a accesskey="c" href="#inline-edit" title="<?php _e('Cancel'); ?>" class="button-secondary cancel alignleft"><?php _e('Cancel'); ?></a> |
| 1185 | <?php if ( ! $bulk ) { |
| 1186 | wp_nonce_field( 'inlineeditnonce', '_inline_edit', false ); |
| 1187 | $update_text = ( $is_page ) ? __( 'Update Page' ) : __( 'Update Post' ); |
| 1188 | ?> |
| 1189 | <a accesskey="s" href="#inline-edit" title="<?php _e('Update'); ?>" class="button-primary save alignright"><?php echo attribute_escape( $update_text ); ?></a> |