Warning: Array to string conversion in /home/customer/www/docs.automatorplugin.com/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 825
Warning: foreach() argument must be of type array|object, string given in /home/customer/www/docs.automatorplugin.com/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 830
Warning: Array to string conversion in /home/customer/www/docs.automatorplugin.com/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 825
Warning: foreach() argument must be of type array|object, string given in /home/customer/www/docs.automatorplugin.com/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 830
Warning: Array to string conversion in /home/customer/www/docs.automatorplugin.com/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 825
Integrations::add_integration_directory_func( $directory = array(), $path = '' )
Contents
Warning: foreach() argument must be of type array|object, string given in /home/customer/www/docs.automatorplugin.com/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 830
Warning: Array to string conversion in /home/customer/www/docs.automatorplugin.com/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 825
Warning: foreach() argument must be of type array|object, string given in /home/customer/www/docs.automatorplugin.com/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 830
Warning: Array to string conversion in /home/customer/www/docs.automatorplugin.com/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 825
Parameters Parameters
- $directory
(Optional)
Default value: array()
- $path
(Optional)
Default value: ''
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; }
Expand full source code Collapse full source code View on Github