mc_user_fields - joedolson/my-calendar GitHub Wiki

Add custom fields to the My Calendar section of the user profile.

Auto-generated Example

add_filter(
   'mc_user_fields',
    function(
        string $output,
        int $user_edit
    ) {
        // Your code here.
        return $output;
    },
    10,
    2
);

Parameters

  • string $output HTML for fields.
  • int $user_edit User ID being edited.

Returns

string

Files

apply_filters( 'mc_user_fields', '', $user_edit )

← All Hooks