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
Premium_Integrations::set_id( String $id )
Sets the ID of the integration This will also be used as the tab ID
Contents
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
Parameters Parameters
- $id
(Required) The ID
Source Source
File: src/core/lib/settings/trait-premium-integrations.php
public function set_id( $id ) { // Check if the ID is defined if ( empty( $id ) ) { throw new Exception( "Premium Integration: The ID can't be empty" ); } $this->id = $id; }
Expand full source code Collapse full source code View on Github