File: /var/www/vhosts/uyarreklam.com.tr/httpdocs/abstract.class.php.tar
uyarreklam.com.tr/httpdocs/wp-content/themes/vadimarketv4/inc/temapanel/classes/abstract.class.php 0000644 00000001223 15155273233 0032420 0 ustar 00 var/www/vhosts <?php if ( ! defined( 'ABSPATH' ) ) { die; } // Cannot access pages directly.
/**
*
* Abstract Class
* A helper class for action and filter hooks
*
* @since 1.0.0
* @version 1.0.0
*
*/
abstract class CSFramework_Abstract {
public function __construct() {}
public function addAction( $hook, $function_to_add, $priority = 30, $accepted_args = 1 ) {
add_action( $hook, array( &$this, $function_to_add), $priority, $accepted_args );
}
public function addFilter( $tag, $function_to_add, $priority = 30, $accepted_args = 1 ) {
add_action( $tag, array( &$this, $function_to_add), $priority, $accepted_args );
}
}