mc_controlled_field - joedolson/my-calendar GitHub Wiki
Filter whether a controllable location field has controlled values.
Auto-generated Example
add_filter(
'mc_controlled_field',
function(
bool $return,
string $this_field,
array $controls
) {
// Your code here.
return $return;
},
10,
3
);
Parameters
bool$returnTrue if field has control data, false if not.string$this_fieldThe current field being checked.array$controlsThe array of saved data for controlled fields.
Files
apply_filters( 'mc_controlled_field', $return, $this_field, $controls )