我有一个帖子和付款页面每个帖子都包含一个付款表单
我想知道如何检索数据,以执行和发布后期付款的来源
付款单提交时
$return = array(\'success\' => true, \'msg\' => \'Payment Successful\',
\'current_post_id\' => get_the_ID(),\'payment_made\' => true);
然后付款页面
function enable_post($current_post_id) {
if (payment_made ==\'true\') {
/* Execute a Jquery that would affect the post */
/* Make post Publish instead of draft*/
} }