apply_filters( 'mc_save_location', $results, $add, $post )
Execute an action when a location is saved.
Parameters:
| Name | Type | Description |
|---|---|---|
$results |
int | false | Result of database insertion. Row ID or false. |
$add |
array | Array of location parameters to add. |
$post |
array | POST array. |
- Source:
Returns:
Before priority 10, returns the location ID; after priority 10 returns the location post ID. Sorry.