Support General Apply specific post type media filters Reply To: Apply specific post type media filters

#10338
Infolu OfficialInfolu Official
Participant

Your solution works, I also have the solution below, but in both solutions if you have more than one field it is not possible to create different texts.

In the future it could include something like this in upload media

array(
    'name'       => 'Uploadr',
    'id'         => 'field_id',
    'type'       => 'file_upload',

'text_options' => array(
    'add'      => __( 'Text Exemple', 'text_domain' ),
    'single'      => __( 'Text Exemple', 'text_domain' ),
    'multiple'      => __( 'Text Exemple', 'text_domain' ),
    'remove'      => __( 'Text Exemple', 'text_domain' ),
    'edit'      => __( 'Text Exemple', 'text_domain' ),
    'view'      => __( 'Text Exemple', 'text_domain' ),
    'noTitle'      => __( 'Text Exemple', 'text_domain' ),
    'loadingUrl'      => __( 'Text Exemple', 'text_domain' ),
    'extensions'      => __( 'Text Exemple', 'text_domain' ),
    'select'      => __( 'Text Exemple', 'text_domain' ),
    'or'      => __( 'Text Exemple', 'text_domain' ),
    'uploadInstructions'      => __( 'Text Exemple', 'text_domain' ),
),

),

Image and video hosting by TinyPic

Araujo, Luiz