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 |
---|---|
50 | </div></fieldset> |
51 |
|
52 | <?php |
53 |
|
54 | $core_columns = array( 'cb' => true, 'description' => true, 'name' => true, 'slug' => true, 'posts' => true ); |
55 |
|
56 | foreach ( $columns as $column_name => $column_display_name ) { |
57 | if ( isset( $core_columns[$column_name] ) ) |
58 | continue; |
59 | do_action( 'quick_edit_custom_box', $column_name, $type, $taxonomy ); |
60 | } |
61 |
|
62 | ?> |
63 |
|
64 | <p class="inline-edit-save submit"> |
65 | <a accesskey="c" href="#inline-edit" title="<?php _e('Cancel'); ?>" class="cancel button-secondary alignleft"><?php _e('Cancel'); ?></a> |
66 | <?php $update_text = $tax->labels->update_item; ?> |
67 | <a accesskey="s" href="#inline-edit" title="<?php echo esc_attr( $update_text ); ?>" class="save button-primary alignright"><?php echo $update_text; ?></a> |
68 | <img class="waiting" style="display:none;" src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" /> |
Line | Code |
1138 |
|
1139 | </div> |
1140 |
|
1141 | </div></fieldset> |
1142 |
|
1143 | <?php |
1144 | foreach ( $columns as $column_name => $column_display_name ) { |
1145 | if ( isset( $core_columns[$column_name] ) ) |
1146 | continue; |
1147 | do_action( $bulk ? 'bulk_edit_custom_box' : 'quick_edit_custom_box', $column_name, $screen->post_type ); |
1148 | } |
1149 | ?> |
1150 | <p class="submit inline-edit-save"> |
1151 | <a accesskey="c" href="#inline-edit" title="<?php _e('Cancel'); ?>" class="button-secondary cancel alignleft"><?php _e('Cancel'); ?></a> |
1152 | <?php if ( ! $bulk ) { |
1153 | wp_nonce_field( 'inlineeditnonce', '_inline_edit', false ); |
1154 | $update_text = __( 'Update' ); |
1155 | ?> |
1156 | <a accesskey="s" href="#inline-edit" title="<?php _e('Update'); ?>" class="button-primary save alignright"><?php echo esc_attr( $update_text ); ?></a> |