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 |
---|---|
118 | <?php if ( user_can_create_post($user_ID) ) : ?> |
119 | <input name="publish" type="submit" id="publish" tabindex="10" value="<?php _e('Publish') ?>" /> |
120 | <?php endif; ?> |
121 | <?php |
122 | } |
123 | ?> |
124 | <input name="referredby" type="hidden" id="referredby" value="<?php echo wp_specialchars($_SERVER['HTTP_REFERER']); ?>" /> |
125 | </p> |
126 |
|
127 | <?php do_action('edit_form_advanced', ''); ?> |
128 | </div> |
129 |
|
130 | </div> |
131 |
|
132 | <div class="wrap"> |
133 | <h2><?php _e('Advanced'); ?></h2> |
134 |
|
135 | <table width="100%" cellspacing="2" cellpadding="5" class="editform"> |
136 | <tr> |