filter wpsl_info_window_template
-
Hi
Again, thanks for the great work.
I was having problems using the wpsl_info_window_template filter.
Your documentation states we should use ‘wpsl_cpt_info_window_template’ however that didnt work for me.
When I changed the filter to ‘wpsl_info_window_template’ however it did work.
Looking at underscore-functions.php I see that it depends on line 15:
if ( $template == 'wpsl_store_locator' ) {
since if/true uses ‘wpsl_info_window_template’ and the false/else uses the _cpt_ version.What does it depends on to be using that template or not? I am using my custom template (filter ‘wpsl_templates’) but still on the true part of the if?
Thanks in advance!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘filter wpsl_info_window_template’ is closed to new replies.