Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: load-importer-{$importer}

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
327       *  - `load-importer-wpcat2tag`
328       *  - `load-importer-livejournal`
329       *  - `load-importer-mt`
330       *  - `load-importer-rss`
331       *  - `load-importer-tumblr`
332       *  - `load-importer-wordpress`
333       *
334       * @since 3.5.0
335       */
336      do_action( "load-importer-{$importer}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
337
338      // Used in the HTML title tag.
339      $title        = __( 'Import' );
340      $parent_file  = 'tools.php';
341      $submenu_file = 'import.php';
342
343      if ( ! isset( $_GET['noheader'] ) ) {
344           require_once ABSPATH . 'wp-admin/admin-header.php';
345      }