Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter filever10

    (@filever10)

    It’s the same if I load it through the plugin uploader, media library, or preprocess it with an upload field on a post, like:

    if (class_exists('PWPF_Hooks') && class_exists('acf')) {
        $PWPF_hooks = new PWPF_Hooks;
        $field_name = 'asset';
    
        add_filter('acf/upload_prefilter/name='.$field_name, array($PWPF_hooks, 'PWPF_acf_upload_prefilter'), 10, 3);
    }

    Those options don’t show on the media dialog, in the media library, or on the individual media pages with the other options; or anywhere that media_row_actions is typically executed.

    • This reply was modified 4 years, 2 months ago by filever10. Reason: wrong function ref
    Thread Starter filever10

    (@filever10)

    Seems like PWPF_medialib_view_link isn’t actually adding the options to the display. the view, unprotect, and protect actions don’t show. Even if I remove the conditional logic, or put anything in that function, nothing prints there. I don’t see signs of it firing.

    Thread Starter filever10

    (@filever10)

    It’s been the same for me for the last 2 releases. On the latest version now. 5.5.1

    Thread Starter filever10

    (@filever10)

    I don’t see the option anywhere. I was able to get it to protect by field name with ACF in a custom function. But neither the media library, or the media dialog to select/upload/edit shows a protect/unprotect option.

    I would like to not HAVE to do it by field, because eventually they may be changed to unprotected or may want some protected and others not.

    The link to protect/unprotect that shows in the screenshots, doesn’t show at all for me.

    I’ve tried disabling all other plugins, and still nothing.

Viewing 4 replies - 1 through 4 (of 4 total)