aioseo_thumbnail_size

aioseo_thumbnail_size

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: all-in-one-seo-pack.4.7.7

apply_filters('aioseo_thumbnail_size') is found 1 times:

  • /app/Common/Social/Image.php line 66
    	 */
    	public function getImage( $type, $imageSource, $post = null ) {
    		$this->type          = $type;
    		$this->post          = $post;
    		$this->thumbnailSize = apply_filters( 'aioseo_thumbnail_size', 'fullsize' );
    		$hash                = md5( wp_json_encode( [ $type, $imageSource, $post ] ) );
    
    		static $images = [];
    		if ( isset( $images[ $hash ] ) ) {
    			return $images[ $hash ];
    		}