Tag Info

New answers tagged

0

WordPress has a save_post hook, which is an action triggered whenever a post or page is created or updated. Add something like this below to your functions.php: function my_project_updated_send_email( $post_id ) { // If this is just a revision, don't send the email. if ( wp_is_post_revision( $post_id ) ) return; $post_title = ...


0

Simple and easy. Taken from WP if ( ! function_exists( 'is_plugin_active' ) ) require_once( ABSPATH . '/wp-admin/includes/plugin.php' ); and then any instances of if ( is_plugin_active( 'feed-them-social/feed-them.php' ) ) { } get the function check. SO no more errors.



Top 50 recent answers are included