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 |
|---|---|
| 130 | |
| 131 | <?php |
| 132 | } // end if got url |
| 133 | else |
| 134 | { |
| 135 | echo "<p>" . __("You need to supply your OPML url. Press back on your browser and try again") . "</p>\n"; |
| 136 | } // end else |
| 137 | |
| 138 | if ( ! $blogrolling ) |
| 139 | do_action( 'wp_delete_file', $opml_url); |
| 140 | @unlink($opml_url); |
| 141 | ?> |
| 142 | </div> |
| 143 | <?php |
| 144 | break; |
| 145 | } // end case 1 |
| 146 | } // end switch |
| 147 | } |
| 148 | |