public function run_addon($plugin) { parent::run_addon($plugin); $this->enable_update_content_permalink(); if (!is_admin()) { add_action('cuar/private-content/view/single-post-action-links?post-type=' . $this->get_friendly_post_type(), array(&$this, 'get_single_content_action_links')); } }