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.
Line | Code |
---|---|
640 | <td><input type="text" id="this_photo" name="this_photo" class="tb_this_photo text" onkeypress="if(event.keyCode==13) image_selector(this);" /></td> |
641 | </tr><tr> |
642 | <td><label for="this_photo_description"><?php _e('Description') ?></label></td> |
643 | <td><input type="text" id="this_photo_description" name="photo_description" class="tb_this_photo_description text" onkeypress="if(event.keyCode==13) image_selector(this);" value="<?php echo esc_attr($title);?>"/></td> |
644 | </tr><tr> |
645 | <td><input type="button" class="button" onclick="image_selector(this)" value="<?php esc_attr_e('Insert Image'); ?>" /></td> |
646 | </tr></table> |
647 | </div> |
648 | <?php |
649 | do_action('admin_footer'); |
650 | do_action('admin_print_footer_scripts'); |
651 | ?> |
652 | <script type="text/javascript">if(typeof wpOnload=='function')wpOnload();</script> |
653 | </body> |
654 | </html> |
655 |
|