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
Populate_From_Query::populate()
Populates the recipe.
Return Return
(bool)
Source Source
File: src/core/classes/class-populate-from-query.php
protected static function populate() { switch ( $_GET['action'] ) { case 'add-new-trigger': if ( self::query_args_exist( array( 'item_code' ) ) ) { return self::add_new_trigger(); } else { throw new \Exception( 'Missing item code.' ); } break; default: throw new \Exception( 'Unknown action.' ); break; } return true; }
Expand full source code Collapse full source code View on Github