Skip to content

ERROR: Call to undefined function osc_csrfguard_generate_token() #404

Answered by navjottomer
eurobank asked this question in Q&A
Discussion options

You must be logged in to vote

Something like this.

<a class="btn" onclick="return delete_dialog('<?php echo $id; ?>');" href="<?php  echo osc_admin_base_url(true).'?page=items&spam=delete&item='.$id.'&'. osc_csrf_token_url(); ?>"><?php _e('Delete Ad', 'spamprotection'); ?></a>

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by eurobank
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants