Integrations::add_integration_directory_func( $directory = array(),  $path = '' )


Parameters Parameters

$directory

(Optional)

Default value: array()

$path

(Optional)

Default value: ''


Top ↑

Return Return

(mixed)


Source Source

File: src/core/lib/recipe-parts/trait-integrations.php

	public function add_integration_directory_func( $directory = array(), $path = '' ) {

		$directory[] = dirname( $path ) . '/helpers';
		$directory[] = dirname( $path ) . '/actions';
		$directory[] = dirname( $path ) . '/triggers';
		$directory[] = dirname( $path ) . '/tokens';
		$directory[] = dirname( $path ) . '/closures';
		$directory[] = dirname( $path ) . '/img';

		return $directory;
	}