You are using post_permalink()
that is deprecated. Please use get_permalink()
or the_permalink()
and also make sure that ajax function is called successfully by simply returning any string from ajax function.
You are using post_permalink()
that is deprecated. Please use get_permalink()
or the_permalink()
and also make sure that ajax function is called successfully by simply returning any string from ajax function.