mc_save_settings - joedolson/my-calendar GitHub Wiki

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