PHP Interface Inpsyde\MultilingualPress\SiteDuplication\AttachmentCopier

Since: 3.0.0
Datei anzeigen Open project: inpsyde/multilingual-press Interface Usage Examples

Public Methods

Method Description
copy_attachments ( integer $source_site_id ) : boolean Copies all attachment files of the site with given ID to the current site.

Method Details

copy_attachments() public method

Copies all attachment files of the site with given ID to the current site.
Since: 3.0.0
public copy_attachments ( integer $source_site_id ) : boolean
$source_site_id integer Source site ID.
return boolean Whether or not any attachment files were copied.