mc_post_category_form - joedolson/my-calendar GitHub Wiki

Execute action after category editor form prints to screen.

Auto-generated Example

add_action(
   'mc_post_category_form',
    function(
        object $cur_cat,
        $string_view_type_of_view
    ) {
        // Your code here.
    },
    10,
    2
);

Parameters

  • object $cur_cat Current category object.
  • $string_view_type_of_view Other variable names: $view

Files

do_action( 'mc_post_category_form', $cur_cat, $view )

← All Hooks