Question about uwpqsf_result_tempt
-
Hello TC.K,
I need to output the page URL and in the container page I use this code:$referrer = get_permalink(); <input type="hidden" name="referrer" value="<?php echo $referrer; ?>">
The problem is when I use this function:
add_filter('uwpqsf_result_tempt', 'customize_output', '', 4); function customize_output($results , $arg, $id, $getdata ){
If I use get_permalink() inside that function, it will get the permalink of one of the filtered posts, not the container page which I need.
How can I solve?
Thankshttps://www.ads-software.com/plugins/ultimate-wp-query-search-filter/
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘Question about uwpqsf_result_tempt’ is closed to new replies.