Exhibitor Manager DOCS & HELP

Actions, Filters & Overrides

Where settings aren’t enough, you step in through a template copy in your theme and through WordPress filters – update-safe and without changing the plugin itself.

Replacing the exhibitor page in the theme

For an exhibitor’s single page the plugin first looks in the active theme (or child theme) for event-exhibitor-manager/single-event-exhibitor.php and only then uses its own template. The subfolder is named like the plugin folder; the plugin ignores a file of the same name directly in the theme folder.

Template in the pluginCopy in the theme
event-exhibitor-manager/templates/single-exhibitor.phpyour-theme/event-exhibitor-manager/single-event-exhibitor.php
Copies go stale

A template copy no longer receives plugin updates. Compare it with the original after updates – or, where possible, change things with CSS only. The pop-up is built with JavaScript and isn’t affected by the copy.

Filters

FilterDefaultPurpose
eem_tools_capabilityedit_others_postsWho may use dashboard, Mass Editor and Import / Export. manage_options restores the old behavior (administrators only).
eem_settings_capabilitymanage_optionsWho sees and saves the writing settings tabs (design, functions, labels, security, API).
eem_settings_page_capabilityedit_postsWho may open the settings page at all (generator, about).
eem_allow_contributor_uploadstrueWhether contributors may upload logos and gallery images in the back end. false restores the WordPress default.
eem_country_list250 countriesCountry names and ISO codes for selection and import.
eem_settings_backup_excluded_keysdelete optionOptions that should not go into the settings backup.

Examples for functions.php

Tools for administrators only
add_filter( 'eem_tools_capability', function () {
    return 'manage_options';
} );
Contributors without media upload
add_filter( 'eem_allow_contributor_uploads', '__return_false' );
Keep your own option out of the backup
add_filter( 'eem_settings_backup_excluded_keys', function ( $keys ) {
    $keys[] = 'eem_my_internal_value';
    return $keys;
} );

Reading data from outside

For apps and partner websites the public REST API is the right way – with a fixed data format. Styling without a template copy: CSS customizing.