white-label.php 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <?php
  2. class FLBuilderWhiteLabel {
  3. public static function is_white_labeled() {
  4. return true;
  5. }
  6. public static function get_branding() {
  7. return __( 'VamTam Builder', 'wpv' );
  8. }
  9. public static function get_branding_icon() {
  10. return VAMTAMEL_B_URL . 'assets/logo.svg';
  11. }
  12. public static function get_help_button_settings() {
  13. return array(
  14. 'enabled' => true,
  15. 'tour' => true,
  16. 'video' => true,
  17. 'video_embed' => '<iframe src="https://player.vimeo.com/video/124230072?autoplay=1" width="420" height="315" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>',
  18. 'knowledge_base' => true,
  19. 'knowledge_base_url' => 'https://www.wpbeaverbuilder.com/knowledge-base/',
  20. 'forums' => true,
  21. 'forums_url' => 'http://support.vamtam.com/support/login',
  22. );
  23. }
  24. public static function plugins_page( $plugins ) {
  25. return $plugins;
  26. }
  27. public static function themes_page( $themes ) {
  28. return $themes;
  29. }
  30. public static function theme_gettext( $text ) {
  31. return $text;
  32. }
  33. }