Skip to content

mc_modify_location

github-actions[bot] edited this page May 15, 2026 · 4 revisions

Executed an action when a location is modified.

Auto-generated Example

add_filter(
   'mc_modify_location',
    function(
        {array} $where,
        {array} $update,
        {array} $post
    ) {
        // Your code here.
        return $where;
    },
    10,
    3
);

Parameters

  • {array} $where Array [location_id => $id].
  • {array} $update Array of location parameters to update.
  • {array} $post POST array.

Files

apply_filters( 'mc_modify_location', $where, $update, $_POST )

← All Hooks

Clone this wiki locally