public function __construct($oProp, $oMsg = null) { parent::__construct($oProp, $oMsg); if (isset($_GET['post_type']) && $_GET['post_type'] == $this->oProp->sPostType) { add_action('get_edit_post_link', array($this, '_replyToAddPostTypeQueryInEditPostLink'), 10, 3); } }