Usage_Reports::process_items( $type,  $recipe_data )

get_triggers_info


Return Return

(void)


Source Source

File: src/core/classes/class-usage-reports.php

	public function process_items( $type, $recipe_data ) {

		if ( empty( $recipe_data[ $type ] ) ) {
			return;
		}

		foreach ( $recipe_data[ $type ] as $data ) {

			if ( $data['post_status'] !== 'publish' ) {
				continue;
			}

			$this->process_async_actions( $data );

			$this->count_integration( $data['meta']['integration'], $type, $data['meta']['code'] );

		}

	}