LLMS_Abstract_Processor::add_actions()
Add actions defined in $this->actions
Return Return
(void)
Source Source
File: includes/abstracts/llms.abstract.processor.php
82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 | public function add_actions() { foreach ( $this ->get_actions() as $action => $data ) { $data = wp_parse_args( $data , array ( 'arguments' => 1, 'priority' => 10, ) ); add_action( $action , array ( $this , $data [ 'callback' ] ), $data [ 'priority' ], $data [ 'arguments' ] ); } } |
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.15.0 | Introduced. |