Skip to content

mc_user_fields

github-actions[bot] edited this page Jun 10, 2026 · 5 revisions

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

Clone this wiki locally