Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Flush out bbpress dropdown of forum list transient on save/update of forum posts
- *
- * @hooked save_post
- */
- function prefix_flush_posts_transients() {
- delete_transient( 'prefix_bbpress_dropdown_forum_list' );
- }
- add_action( 'save_post', 'prefix_flush_posts_transients' );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement