Skip to content

mc_clean_duplicate_locations

github-actions[bot] edited this page Jun 3, 2026 · 4 revisions

Run when action to clean up duplicate locations is run.

Auto-generated Example

add_action(
   'mc_clean_duplicate_locations',
    function(
        array $deleted,
        array $failed
    ) {
        // Your code here.
    },
    10,
    2
);

Parameters

  • array $deleted Array of location IDs successfully deleted.
  • array $failed Array of location IDs that were not successfully deleted.

Files

do_action( 'mc_clean_duplicate_locations', $deleted, $failed )

← All Hooks

Clone this wiki locally