partial_template_name }})
*
* @param Array $partial_templates A collection of filterable partial templates
* @return Array an associative array keyed by name of the partial templates
*/
public static function get_partial_templates($partial_templates) {
if (!isset($partial_templates['dropbox_additional_configuration_top'])) $partial_templates['dropbox_additional_configuration_top'] = '';
$partial_templates['dropbox_additional_configuration_top'] = self::get_configuration_template();
return $partial_templates;
}
/**
* This method is hooked to a filter and going to be accessed by any code within WordPress environment, so instead of sanitising each value in this method and/or using any other technique to prevent XSS attacks, just make sure each partial template has all variables escaped
*/
public static function get_partial_template_properties() {
return array(
'input_store_at_label' => __('Store at', 'updraftplus'),
);
}
/**
* Returns the Dropbox Folders addon HTML content to be displayed on the page
*
* @return [string] - the premium HTML content that will be displayed on the page
*/
private static function get_configuration_template() {
ob_start();
?>