vars['title'] = $this->title();
extract($this->vars);
$view_path = $this->getViewPath();
if (file_exists($view_path)) {
include $view_path;
} else {
$message = sprintf(
/* translators: %s: Absolute path to the view file. */
__( 'View file not found: %s', 'afroit-messaging-workflows' ),
(string) $view_path
);
printf( '
', esc_html( $message ) );
}
}
public function title() {
return '';
}
protected function getViewPath() {
return '';
}
}
//$license_manager = new LicenseManager();
//$license_status = $license_manager->get_status();
/*
$settings = new PluginSettings();
$secure_options = new SecureOptions();
$notify_on_purchase = $settings->get_notify_on_purchase();
$sync_products_on_save = $settings->get_sync_products_on_save();
$sync_products_on_delete = $settings->get_sync_products_on_delete();
$sync_only_published = $settings->get_sync_only_published_products();
*/