LLMS_Abstract_Processor::add_actions()

Add actions defined in $this->actions


Description Description


Return Return

(void)


Top ↑

Source Source

File: includes/abstracts/llms.abstract.processor.php

	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'] );

		}

	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.15.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.





Permalink: