You can simply target to a custom file when using wp_localize_script()
. Just – in the third argument-array – set ajax_url
to whatever file you want to target.
You can simply target to a custom file when using wp_localize_script()
. Just – in the third argument-array – set ajax_url
to whatever file you want to target.