WordPress filter hook

emd_entity_map_keys

Fired by 9 WordPress plugins, running on 2,960+ sites between them.

How to use emd_entity_map_keys

It's a filter: your callback receives the value and 1 more argument, and must return the (changed) value. Add this to your theme's functions.php or a small custom plugin:

functions.php
add_filter( 'emd_entity_map_keys', function( $value ) {
	// Change $value here.
	return $value;
}, 10, 1 );

Argument names come from Video Gallery's source. Other plugins may pass different values: check the call in the plugin you're targeting below.

9 plugins that fire emd_entity_map_keys

Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.

  1. Video Gallery icon Video Gallery2,000+ installs apply_filters( 'emd_entity_map_keys', Array('hide_archive_page_nav','hide_prev_next','hide_edit_link','hide_rels','edit_rels','hide_rel_attrs','attrs','edit_attrs','single_temp','archive_temp','single_container','archive_container','make_visitor_visible','rewrite','cust_fields','width','height','zoom','map_type','marker','load_info','comment_placeholder','thread_depth','max_files','max_file_size','file_exts','comments_per_page','co... ) includes/admin/settings-functions.php:1072
  2. Customer Support Ticket System & Helpdesk icon Customer Support Ticket System & Helpdesk400+ installs apply_filters( 'emd_entity_map_keys', Array('hide_archive_page_nav','hide_prev_next','hide_edit_link','hide_rels','edit_rels','hide_rel_attrs','attrs','edit_attrs','single_temp','archive_temp','single_container','archive_container','make_visitor_visible','rewrite','cust_fields','width','height','zoom','map_type','marker','load_info','comment_placeholder','thread_depth','max_files','max_file_size','file_exts','comments_per_page','co... ) includes/admin/settings-functions.php:1068
  3. Employee Spotlight icon Employee Spotlight300+ installs apply_filters( 'emd_entity_map_keys', Array('hide_archive_page_nav','hide_prev_next','hide_edit_link','hide_rels','edit_rels','hide_rel_attrs','attrs','edit_attrs','single_temp','archive_temp','single_container','archive_container','make_visitor_visible','rewrite','cust_fields','width','height','zoom','map_type','marker','load_info','comment_placeholder','thread_depth','max_files','max_file_size','file_exts','comments_per_page','co... ) includes/admin/settings-functions.php:1068
  4. Employee Directory icon Employee Directory100+ installs apply_filters( 'emd_entity_map_keys', Array('hide_archive_page_nav','hide_prev_next','hide_edit_link','hide_rels','edit_rels','hide_rel_attrs','attrs','edit_attrs','single_temp','archive_temp','single_container','archive_container','make_visitor_visible','rewrite','cust_fields','width','height','zoom','map_type','marker','load_info','comment_placeholder','thread_depth','max_files','max_file_size','file_exts','comments_per_page','co... ) includes/admin/settings-functions.php:1068
  5. Campus Directory icon Campus Directory70+ installs apply_filters( 'emd_entity_map_keys', Array('hide_archive_page_nav','hide_prev_next','hide_edit_link','hide_rels','edit_rels','hide_rel_attrs','attrs','edit_attrs','single_temp','archive_temp','single_container','archive_container','make_visitor_visible','rewrite','cust_fields','width','height','zoom','map_type','marker','load_info','comment_placeholder','thread_depth','max_files','max_file_size','file_exts','comments_per_page','co... ) includes/admin/settings-functions.php:1068
  6. Simple Contact Form Plugin for WordPress icon Simple Contact Form Plugin for WordPress40+ installs apply_filters( 'emd_entity_map_keys', Array('hide_archive_page_nav','hide_prev_next','hide_edit_link','hide_rels','edit_rels','hide_rel_attrs','attrs','edit_attrs','single_temp','archive_temp','single_container','archive_container','make_visitor_visible','rewrite','cust_fields','width','height','zoom','map_type','marker','load_info','comment_placeholder','thread_depth','max_files','max_file_size','file_exts','comments_per_page','co... ) includes/admin/settings-functions.php:1068
  7. Project Management, Bug and Issue Tracking Plugin icon Project Management, Bug and Issue Tracking Plugin20+ installs apply_filters( 'emd_entity_map_keys', Array('hide_archive_page_nav','hide_prev_next','hide_edit_link','hide_rels','edit_rels','hide_rel_attrs','attrs','edit_attrs','single_temp','archive_temp','single_container','archive_container','make_visitor_visible','rewrite','cust_fields','width','height','zoom','map_type','marker','load_info','comment_placeholder','thread_depth','max_files','max_file_size','file_exts','comments_per_page','co... ) includes/admin/settings-functions.php:1068
  8. Event RSVP and Simple Event Management Plugin icon Event RSVP and Simple Event Management Plugin20+ installs apply_filters( 'emd_entity_map_keys', Array('hide_archive_page_nav','hide_prev_next','hide_edit_link','hide_rels','edit_rels','hide_rel_attrs','attrs','edit_attrs','single_temp','archive_temp','single_container','archive_container','make_visitor_visible','rewrite','cust_fields','width','height','zoom','map_type','marker','load_info','comment_placeholder','thread_depth','max_files','max_file_size','file_exts','comments_per_page','co... ) includes/admin/settings-functions.php:1072
  9. Easy Accordion FAQ and Knowledge Base Software for WordPress icon Easy Accordion FAQ and Knowledge Base Software for WordPress10+ installs apply_filters( 'emd_entity_map_keys', Array('hide_archive_page_nav','hide_prev_next','hide_edit_link','hide_rels','edit_rels','hide_rel_attrs','attrs','edit_attrs','single_temp','archive_temp','single_container','archive_container','make_visitor_visible','rewrite','cust_fields','width','height','zoom','map_type','marker','load_info','comment_placeholder','thread_depth','max_files','max_file_size','file_exts','comments_per_page','co... ) includes/admin/settings-functions.php:1068

Need a customisation built on this hook?

Tell us what you want to change and which plugin it's for. We'll write it, test it and send it back as a small plugin.