Ricardo Cosentino
Forum Replies Created
Viewing 4 posts - 1 through 4 (of 4 total)
- AuthorPosts
- Ricardo CosentinoParticipant
After I tried to send a Message: https://imgur.com/a/LKmBW
I tested a basic filter just to send an alert like that:
add_filter( 'fep_filter_message_before_send', 'send_url' ); function send_url() { echo "<script>alert('".$_SERVER['HTTP_REFERER']."');</script>"; }And it Works but… The message didn’t send
Ricardo CosentinoParticipantI tried this in function.php:
add_filter( 'fep_filter_message_before_send', 'send_url' ); function send_url() { $url = $_SERVER['HTTP_REFERER']; return $url; }But just recieved error messages!
Ricardo CosentinoParticipantSorry, I didn’t understand where I need to put this code:
fep_filter_message_before_sendIs like a filter in functions.php? per example:
add_filter( 'fep_filter_message_before_send', $_SERVER['HTTP_REFERER']);Thanks again!
Ricardo CosentinoParticipantYeah it worked! Thank you for this great support!
- AuthorPosts
Viewing 4 posts - 1 through 4 (of 4 total)