• Hello,

    I was seeking help on WP Property plugin filters.

    Its easy to add new property types and attributes in the Plugin panel. But, I want to do that through filters.

    I have had success adding a new property type using this code:

    function new_property($wp_properties) {
    
    	$new_columns = array(
    		'multi_home' => __('Multi Home', 'ThemeName'),
    	);
        return array_merge($wp_properties, $new_columns);
    }
    add_filter('wpp_property_types' , 'new_property');

    It works fine, it adds the new property type: Multi home.

    But, the problem is – that when I delete it from admin panel – It re-appears after saving the options.

    I should work like all other default properties, i.e delete after they are deleted from Plugin settings page.

    Any help would be heartily appreciated.

    Thanks,

The topic ‘[Plugin: WP Property] Filters help’ is closed to new replies.