Created
July 23, 2020 18:29
-
-
Save Aeonexe/f92a296c9576a270867195d7fe557a35 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_action( 'comment_form_before', 'action_function_6020' ); | |
function action_function_6020( $args ){ | |
$id = $_GET['id']; | |
// Gets id | |
} | |
add_action( 'comment_post', 'action_function_6020' ); | |
function action_function_6020( $fields ){ | |
$id = $_GET['id']; | |
// Doesn't get id | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment