Skip to content

mc_location_container_primary

github-actions[bot] edited this page Jun 3, 2026 · 4 revisions

Append content in the primary column of location fields.

Auto-generated Example

add_filter(
   'mc_location_container_primary',
    function(
        string $string,
        object $data,
        string $context
    ) {
        // Your code here.
        return $string;
    },
    10,
    3
);

Parameters

  • string $string HTML content. Default empty string.
  • object $data Current display object.
  • string $context Location or event. Tells us the structure of the $data object.

Returns

string

Files

apply_filters( 'mc_location_container_primary', '', $data, $context )

← All Hooks

Clone this wiki locally