• Resolved Litro

    (@litro)


    I added the code:

    add_filter( 'wp_listings_default_status_terms', 'custom_default_status_terms' );
    function custom_default_status_terms() {
    	$status_terms = array();
    	return $status_terms;

    to my theme’s functions.php, but it does nothing. Something changed in the latest plugin version?

    https://wordpress.org/plugins/wp-listings/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author agentevolution

    (@agentevolution)

    Nothing has changed in that regard. The default terms that were already added, must be deleted first. Adding the filter will prevent them from being replaced after deletion.

    Thread Starter Litro

    (@litro)

    It just works while I’m in the Status section (they are not added again instantly). The moment I go to somewhere else and come back, the default status are there again. No matter how many times I delete them.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Remove Default Status doesn't work’ is closed to new replies.