base-front.class.php 658 B

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. /**
  3. * @author ThemePunch <info@themepunch.com>
  4. * @link http://www.themepunch.com/
  5. * @copyright 2015 ThemePunch
  6. */
  7. if( !defined( 'ABSPATH') ) exit();
  8. class RevSliderBaseFront extends RevSliderBase {
  9. const ACTION_ENQUEUE_SCRIPTS = "wp_enqueue_scripts";
  10. /**
  11. *
  12. * main constructor
  13. */
  14. public function __construct($t){
  15. parent::__construct($t);
  16. add_action('wp_enqueue_scripts', array('RevSliderFront', 'onAddScripts'));
  17. }
  18. }
  19. /**
  20. * old classname extends new one (old classnames will be obsolete soon)
  21. * @since: 5.0
  22. **/
  23. class UniteBaseFrontClassRev extends RevSliderBaseFront {}
  24. ?>