rwmb_file_add_string

rwmb_file_add_string

Hook Type: filter

See hook in core

Displaying hooks found in version: wp-stateless.4.1.2

apply_filters('rwmb_file_add_string') is found 1 times:

  • /vendor/wpmetabox/meta-box/inc/fields/file.php line 86
    	 * @return string
    	 */
    	public static function html( $meta, $field ) {
    		$meta      = array_filter( (array) $meta );
    		$i18n_more = apply_filters( 'rwmb_file_add_string', _x( '+ Add new file', 'file upload', 'meta-box' ), $field );
    		$html      = self::get_uploaded_files( $meta, $field );
    
    		// Show form upload.
    		$attributes          = self::get_attributes( $field, $meta );
    		$attributes['type']  = 'file';
    		$attributes['name']  = "{$field['input_name']}[]";