• Resolved Steve Borsch

    (@sborsch)


    Fantastic documentation and great flexibility with the plugin (we bought the full version with all add-ons). This might help others so am putting this here vs. a support ticket.

    I’ve successfully removed the Listing Agent(s) meta data with this…

    // Remove Listing Agent(s) Meta
    function remove_agent_meta_box($field) {
    return;
    }
    add_filter('epl_meta_listing_agents', 'remove_agent_meta_box');
    add_filter('epl_meta_property_office_id', 'remove_agent_meta_box');
    add_filter('epl_meta_property_agent', 'remove_agent_meta_box');
    add_filter('epl_meta_property_second_agent', 'remove_agent_meta_box');
    add_filter('epl_meta_property_agent_hide_author_box', 'remove_agent_meta_box');

    …but am unable to figure out how to remove the label “Listing Agent(s)” though. I’ve tried filter $group but that doesn’t do it and I’m actively modifying meta now so would like to know for the future too. Any ideas?

    https://www.ads-software.com/plugins/easy-property-listings/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Merv Barrett

    (@mervb1)

    Wrote an answer for you and its not working, looking into this as it should work as per your example. We have an update to EPL coming shortly and will see if we can enhance this so you can remove the title.

    Hi Steve,

    Not sure how you tried $group filter . It can remove listing agent section from the metabox. Please try the code below and let me know

    Thanks

    function remove_epl_agents_meta_box($group) {
    	return;
    }
    
    add_filter('epl_meta_groups_listing_agents',remove_epl_agents_meta_box);
    Thread Starter Steve Borsch

    (@sborsch)

    Thanks pr1nc3. I didn’t have that quite right so now it’s gone. Appreciate the help.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Remove Listing Agent(s) *Label*’ is closed to new replies.