Changeset 3139316
- Timestamp:
- 08/21/2024 10:25:15 PM (19 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
email-post-changes/trunk/class.email-post-changes.php
r3139315 r3139316 68 68 // The meat of the plugin 69 69 function post_updated( $post_id, $post_after, $post_before ) { 70 if ( defined( 'WP_IMPORTING' ) && WP_IMPORTING ) { 71 return; 72 } 73 70 74 $options = $this->get_options(); 71 75 … … 162 166 163 167 foreach ( $emails as $email ) { 168 if ( empty( $email ) || ! is_email( $email ) ) { 169 continue; 170 } 164 171 do_action( 'email_post_changes_before_email_generation', $email ); 165 172
Note: See TracChangeset
for help on using the changeset viewer.