Auto insert shortcode to content.
I wonder if there is a way to automatically insert a shortcode to post content when pressing publish button. For example, the post is
This is a test post!
After I press publish, the post content (in the database) will be
This is a [shortcode] test [/shortcode] post!
This rule applies to every post that I publish.
- The topic ‘Auto insert shortcode to content.’ is closed to new replies.