MCPcopy Create free account
hub / github.com/EqualifyEverything/equalify / the_integration_settings_button

Function the_integration_settings_button

models/view_components.php:148–161  ·  view source on GitHub ↗

* The Integration Settings Button */

(
    $integration_uri, $integration_status
    )

Source from the content-addressed store, hash-verified

146 * The Integration Settings Button
147 */
148function the_integration_settings_button(
149 $integration_uri, $integration_status
150 ){
151
152 // Only show button on active integrations
153 if($integration_status == 'Active'){
154 echo '<a href="index.php?view=integration_settings&uri='
155 .$integration_uri.'" class="btn btn-secondary">
156 Settings</a>';
157 }else{
158 return false;
159 }
160
161}
162
163/**
164 * Convert Code Shortcode

Callers 1

integrations.phpFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected