i want to add custom url with dummy content like belwo :
http://ift.tt/1G3I7EQ
i want to show paramvalue on page load just
how can i do this .
i tried using :
add_action('parse_request', 'my_custom_url_handler');
function my_custom_url_handler() {
if(**mycondition**){
echo "<h1>TEST</h1>";
exit();
}
}
how i check my condition please guide
Aucun commentaire:
Enregistrer un commentaire