Skip to content

Instantly share code, notes, and snippets.

@verygoodplugins
Created September 6, 2018 22:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save verygoodplugins/8645f1ae491bf42ed7d8db2359689bf6 to your computer and use it in GitHub Desktop.
Save verygoodplugins/8645f1ae491bf42ed7d8db2359689bf6 to your computer and use it in GitHub Desktop.
Allow editing of Salesforce instance URL
<?php
function add_sf_instance_url( $settings ) {
$settings['sf_instance_url'] = array(
'title' => 'Instance URL',
'desc' => '',
'std' => '',
'type' => 'text',
'section' => 'setup'
);
return $settings;
}
add_filter('wpf_configure_settings', 'add_sf_instance_url');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment