rwmb_media_or_string

rwmb_media_or_string

Hook Type: filter

See hook in core

Displaying hooks found in version: wp-stateless.4.1.2

apply_filters('rwmb_media_or_string') is found 1 times:

  • /vendor/wpmetabox/meta-box/inc/fields/media.php line 30
    			'noTitle'            => _x( 'No Title', 'media', 'meta-box' ),
    			'loadingUrl'         => admin_url( 'images/spinner.gif' ),
    			'extensions'         => static::get_mime_extensions(),
    			'select'             => apply_filters( 'rwmb_media_select_string', _x( 'Select Files', 'media', 'meta-box' ) ),
    			'or'                 => apply_filters( 'rwmb_media_or_string', _x( 'or', 'media', 'meta-box' ) ),
    			'uploadInstructions' => apply_filters( 'rwmb_media_upload_instructions_string', _x( 'Drop files here to upload', 'media', 'meta-box' ) ),
    		] );
    	}
    
    	public static function add_actions() {
    		add_action( 'print_media_templates', [ get_called_class(), 'print_templates' ] );