Make WordPress Core

Changeset 59701


Ignore:
Timestamp:
01/24/2025 02:00:56 PM (4 months ago)
Author:
audrasjb
Message:

Import: Add the import_filters action hook to the Import screen.

This changeset introduces the new import_filters action hook at the end of the Import screen, consistently with other admin screens like export.php.

Props audrasjb, lenasterg.
Fixes #54419.
See #19863.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/import.php

    r57714 r59701  
    236236    ) . '</p>';
    237237}
     238
     239/**
     240 * Fires at the end of the Import screen.
     241 *
     242 * @since 6.8.0
     243 */
     244do_action( 'import_filters' );
    238245?>
    239246
Note: See TracChangeset for help on using the changeset viewer.