Run a piece of code only when a new post is created
-
Hi, is there a way to execute a piece of code from a plugin only the very first time a post record is created?
(corresponding to $update being TRUE in wp_insert_post() in function-post.php)
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Run a piece of code only when a new post is created’ is closed to new replies.