WP限制评论字数的方法
在主题functions.php文件适当位置加入以下代码: /* 设定评论字数限制开始 */ function set_comments_length($commentdata) { $minCommentlength = 5; //最少字...
在主题functions.php文件适当位置加入以下代码: /* 设定评论字数限制开始 */ function set_comments_length($commentdata) { $minCommentlength = 5; //最少字...
在7B2主题的目录中找到:inc/functions-shop-orders.php,下拉找到 function zrz_notify_data_update($pay_order_id,$total_amount){ 在它的下方加如一下代...