Call function with button and return response

Based on the limited detail of your question something as per the following is a rough gist of what you could do. In your theme functions.php file: <?php function handle_request () { if (isset($_GET[‘custom_id’]) && isset($_GET[‘custom_id_nonce’]) ) { if ( wp_verify_nonce($_GET[‘custom_id_nonce’], ‘custom_id_action’) ) { $id = $_GET[‘custom_id’]; // FIRST // do something with $id // … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)