时间:2024-03-10
WordPress函数wp_publish_post用于修改文章的状态为publish
wp_publish_post( int|WP_Post $post )
$post
整数
要修改的文章ID
wp_publish_post()函数位于:wp-includes/post.php
相关函数:
wp_after_insert_post()
wp_insert_post()
wp_update_post()
tel:18842938855
vx:18842938855
qq:1685522781
email:1685522781@qq.com
Copyright © 2019-2024 jsp.hk