LLMS_Table_NotificationSettings::get_results( array $args = array() )

Execute a query to retrieve results from the table


Parameters Parameters

$args

(array) (Optional) array of query args

Default value: array()


Top ↑

Return Return

(void)


Top ↑

Source Source

File: includes/admin/settings/tables/class.llms.table.notification.settings.php

	public function get_results( $args = array() ) {

		$rows = array();

		foreach ( llms()->notifications()->get_controllers() as $controller ) {

			$rows[] = array(
				'id'           => $controller->id,
				'notification' => $controller->get_title(),
				'configure'    => $controller->get_supported_types(),
			);

		}

		usort( $rows, array( $this, 'sort_rows' ) );

		$this->tbody_data = $rows;
	}


Top ↑

Changelog Changelog

Changelog
Version Description
3.8.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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