Skip to content

mc_save_settings

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

Run when settings are saved. Default ''. First argument is a remnant from when this was a filter.

Auto-generated Example

add_action(
   'mc_save_settings',
    function(
        string $message,
        array $post
    ) {
        // Your code here.
    },
    10,
    2
);

Parameters

  • string $message Message after updating settings sent to mc_show_notice().
  • array $post Sanitized POST global.

Files

do_action( 'mc_save_settings', '', $post )

← All Hooks

Clone this wiki locally