widget_{$this->id_base}_instance_schema

widget_{$this->id_base}_instance_schema

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-5.3.2

apply_filters('widget_{$this->id_base}_instance_schema') is found 2 times:

  • /wp-includes/widgets/class-wp-widget-media-gallery.php line 100
    			),
    		);
    
    		/** This filter is documented in wp-includes/widgets/class-wp-widget-media.php */
    		$schema = apply_filters( "widget_{$this->id_base}_instance_schema", $schema, $this );
    
    		return $schema;
    	}
    
    	/**
    	 * Render the media on the frontend.
    
  • /wp-includes/widgets/class-wp-widget-media.php line 164
    		 *
    		 * @param array           $schema Instance schema.
    		 * @param WP_Widget_Media $this   Widget object.
    		 */
    		$schema = apply_filters( "widget_{$this->id_base}_instance_schema", $schema, $this );
    
    		return $schema;
    	}
    
    	/**
    	 * Determine if the supplied attachment is for a valid attachment post with the specified MIME type.