wp_get_attachment_url, $src, $post_id

wp_get_attachment_url, $src, $post_id

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-seo.28.1

apply_filters('wp_get_attachment_url, $src, $post_id') is found 1 times:

  • /inc/sitemaps/class-sitemap-image-parser.php line 378
    			// It's a newly uploaded file, therefore $file is relative to the baseurl.
    			$src = $uploads['baseurl'] . '/' . $file;
    		}
    
    		return apply_filters( 'wp_get_attachment_url', $src, $post_id );
    	}
    
    	/**
    	 * Make absolute URL for domain or protocol-relative one.
    	 *
    	 * @param string $src URL to process.