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