Method | Description | |
---|---|---|
__construct ( Inpsyde\MultilingualPress\Module\Trasher\TrasherSettingRepository $setting_repository, Inpsyde\MultilingualPress\API\ContentRelations $content_relations ) | Constructor. Sets up the properties. | |
trash_related_posts ( integer $post_id ) : integer | Trashes all related posts. |
public __construct ( Inpsyde\MultilingualPress\Module\Trasher\TrasherSettingRepository $setting_repository, Inpsyde\MultilingualPress\API\ContentRelations $content_relations ) | ||
$setting_repository | Inpsyde\MultilingualPress\Module\Trasher\TrasherSettingRepository | Trasher setting repository object. |
$content_relations | Inpsyde\MultilingualPress\API\ContentRelations | Content relations API object. |