public function listen($args = null)
    {
        if ('action' === $this->getModel()->getType()) {
            return do_action($this->getModel()->getIdentifier(), $args);
        }

        return apply_filters($this->getModel()->getIdentifier(), $args);
    }
public function listen($args = null)
    {
        if ('action' === $this->getModel()->getType()) {
            return do_action($this->getModel()->getIdentifier(), $args);
        }

        return apply_filters($this->getModel()->getIdentifier(), $args);
    }
public function listen ( $ args = null ) { if ( 'action' === $ this -> getModel ( ) -> getType ( ) ) { return do_action ( $ this -> getModel ( ) -> getIdentifier ( ) , $ args ) ; } return apply_filters ( $ this -> getModel ( ) -> getIdentifier ( ) , $ args ) ; }
Define hook.

@param null|mixed $args
@return void
Define hook .