Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: wp_delete_file

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

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