{"id":17420271,"date":"2024-02-13T03:47:32","date_gmt":"2024-02-13T03:47:32","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/activate-function-on-click\/"},"modified":"2024-02-13T03:47:32","modified_gmt":"2024-02-13T03:47:32","slug":"activate-function-on-click","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/activate-function-on-click\/","title":{"rendered":"Activate function on click"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Good afternoon<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Is there any way, that clicking on a button just activates the plugin function? Normally my students buy their course at a fixed price, but some of them have access to special prices, and I want them to set the price. Is there any way to do it? Since when I have one it works, it sends directly to the payment page.<\/p>\n","protected":false},"template":"","class_list":["post-17420271","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/17420271","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/17420271\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=17420271"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}