automator_get_premium_integrations_settings_url( String $settings_id = '' )
Returns the URL of the settings page of a Premium Integration
Contents
Parameters Parameters
- $settings_id
-
(Optional) The ID of the settings page of the integration
Default value: ''
Return Return
(String) The URL
Source Source
File: src/core/lib/helper-functions/automator-helper-functions.php
function automator_get_premium_integrations_settings_url( $settings_id = '' ) { // Check if the ID is defined if ( empty( $settings_id ) ) { return; } // Create URL return add_query_arg( array( 'post_type' => 'uo-recipe', 'page' => 'uncanny-automator-config', 'tab' => 'premium-integrations', 'integration' => $settings_id, ), admin_url( 'edit.php' ) ); }
Expand full source code Collapse full source code View on Github