sm:pre::synced::image

sm:pre::synced::image

Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: wp-stateless.4.1.2

do_action('sm:pre::synced::image') is found 1 times:

  • /lib/classes/class-utility.php line 989
                }
              }
            }
    
            do_action('sm:pre::synced::image', $id);
            if (!function_exists('wp_generate_attachment_metadata')) {
              require_once ABSPATH . '/wp-admin/includes/image.php';
            }
            $metadata = wp_generate_attachment_metadata($image->ID, $fullsizepath);
    
            if (get_post_mime_type($image->ID) !== 'image/svg+xml') {
    

See this hook used in plugins: