do_action( “load-importer-{$importer}” )

In this article

Fires before an importer screen is loaded.

Description

The dynamic portion of the hook name, $importer, refers to the importer slug.

Possible hook names include:

  • load-importer-blogger
  • load-importer-wpcat2tag
  • load-importer-livejournal
  • load-importer-mt
  • load-importer-rss
  • load-importer-tumblr
  • load-importer-wordpress

Source

do_action( "load-importer-{$importer}" ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores

Changelog

VersionDescription
3.5.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.