function __construct($project) { $this->obj_project = $project; self::$project_domain = $this->obj_project->get_project_domain(); add_filter('wp_title', array($this, 'harmonux_wp_title'), '10', '2'); //add custom code - header add_action('wp_head', array($this, 'custom_code_header')); //add custom code - footer add_action('wp_footer', array($this, 'custom_code_footer')); //add favicon add_action('wp_head', array($this, 'display_favicon')); add_filter('the_category', array($this, 'replace_cat_tag')); }
public function __construct($obj_project) { parent::__construct($obj_project); }