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 |
---|---|
52 |
|
53 | </div> |
54 |
|
55 | <p style="clear: both; margin-top: 1em;"><label for="cat_id"><?php _e('Now select a category you want to put these links in.') ?></label><br /> |
56 | <?php _e('Category:') ?> <select name="cat_id" id="cat_id"> |
57 | <?php |
58 | $categories = get_terms('link_category', 'get=all'); |
59 | foreach ($categories as $category) { |
60 | ?> |
61 | <option value="<?php echo $category->term_id; ?>"><?php echo esc_html(apply_filters('link_category', $category->name)); ?></option> |
62 | <?php |
63 | } // end foreach |
64 | ?> |
65 | </select></p> |
66 |
|
67 | <p class="submit"><input type="submit" name="submit" value="<?php esc_attr_e('Import OPML File') ?>" /></p> |
68 | </form> |
69 |
|
70 | </div> |