\lloc\Msls\ContentImportAttachmentPathFinder

Class MslsRegistryInstance

Summary

Methods
Properties
Constants
instance()
filter_srcset()
filter_attachment_url()
No public properties found
LINKED
has_import_data()
get_source_post()
No protected properties found
N/A
No private methods found
No private properties found
N/A

Constants

LINKED

LINKED

Methods

instance()

instance() : static

Gets or creates an instance of the called class

Returns

static

filter_srcset()

filter_srcset(array  $sources,   $sizeArray,   $imageSrc,   $imageMeta,   $attachmentId) 

Parameters

array $sources
$sizeArray
$imageSrc
$imageMeta
$attachmentId

filter_attachment_url()

filter_attachment_url(  $url,   $attachment_id) 

Parameters

$url
$attachment_id

has_import_data()

has_import_data(  $attachment_id) 

Parameters

$attachment_id

get_source_post()

get_source_post(integer  $attachment_id, array  $msls_imported) : \WP_Post|false

Parameters

integer $attachment_id
array $msls_imported

Returns

\WP_Post|false