• Resolved gaet

    (@gaet)


    Hi, I’ld like to use the plugin just for an ACF field (image type field), is it possible ? Thks

Viewing 1 replies (of 1 total)
  • Plugin Author nosilver4u

    (@nosilver4u)

    Assuming those uploads end up in the media library AND go through the wp_handle_upload filter, which they should, then yes that is possible.

    You’d need to use this filter and use the referrer and/or POST variables to detect an ACF upload:

    // NOTE: filters MUST return an array of 2 items, or the defaults will be used.
    apply_filters( 'imsanity_get_max_width_height', array( $w, $h ), $source );
Viewing 1 replies (of 1 total)
  • The topic ‘Use imsanity just for an ACF field’ is closed to new replies.