M
M
msirsi2016-01-17 14:19:09
JavaScript
msirsi, 2016-01-17 14:19:09

Why doesn't a link containing php passed through AJAX work?

Why doesn't a link containing php passed through AJAX work?
Those. this one works 1a href=" www.xxx.ru " target="_blank"
And this one works too <?php echo("123"); ?> .
But there is no such
1a href="<?php echo add_query_arg('do_product_action', 'redirect', get_permalink($post))?"
?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
imdeveloper, 2016-01-26
@link_web

wp-kama.ru/function/add_query_arg
Read and see right away what it displays for you just like that!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question