slug; } /** * Returns Actions nice name * * @return string */ public function get_action_nice_name() { return $this->nice_name; } /** * Return Action Group slug * * @return string */ public function get_action_group() { return $this->group; } /** * Return Action Group nicename * * @return string */ public function get_action_group_nicename() { return $this->group_label; } /** * Return Action Group priority * * @return int */ public function get_action_priority() { return $this->priority; } /** * Return Action Group supported features * * @return array */ public function get_action_support() { return $this->support; } /** * Returns action event slug * * @return string */ public function get_action_event_slug() { return $this->event_slug; } /** * Abstract function to get schema */ abstract public function get_action_schema(); /** * Abstract function to process action */ abstract public function handle_action( $contact, $data ); }