Filter Hook Request
-
Hi Joe
I have managed to filter all the maps of a collection additionally by $wp_query. But I do not like inserting my code into yours. So would it be possible to add a filter hook by adding the following line at the end of the constructor of your Collection class?
$this->Maps = apply_filters(‘waymark_update_collection_map_list’,$this->Maps);
I think this could also be useful for other people.
Many thanks in advance and best regards.
Daniel.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Filter Hook Request’ is closed to new replies.