Changeset 2567614
- Timestamp:
- 07/19/2021 08:11:43 PM (5 years ago)
- Location:
- wp-cloud-server/trunk/includes/functions
- Files:
-
- 4 added
- 2 edited
-
functions.php (modified) (3 diffs)
-
github-functions.php (added)
-
host-name-functions.php (added)
-
shortcodes.php (modified) (1 diff)
-
ssh-key-functions.php (added)
-
startup-script-functions.php (added)
Legend:
- Unmodified
- Added
- Removed
-
wp-cloud-server/trunk/includes/functions/functions.php
r2478566 r2567614 115 115 do_settings_fields( $page, $section['id'] ); 116 116 echo '</table>'; 117 echo '<hr>'; 117 118 } 118 119 } … … 191 192 echo $output; 192 193 } 194 193 195 /** 194 196 * Check Cloud Provider Exists … … 237 239 238 240 return false; 241 } 242 243 /** 244 * Check Cloud Provider Module is Active 245 * 246 * @since 3.0.6 247 * @return boolean checked value 248 */ 249 function wpcs_check_cloud_provider_module() { 250 251 $module_list = get_option( 'wpcs_module_list' ); 252 253 if ( is_array( $module_list ) ) { 254 foreach ( $module_list as $key => $module ) { 255 if ( ( 'cloud_provider' == $module['module_type'] ) && ( 'active' == $module['status'] ) ) { 256 $cloud_available = true; 257 } 258 } 259 } 260 261 return ( isset( $cloud_available ) ) ? $cloud_available : false ; 239 262 } 240 263 -
wp-cloud-server/trunk/includes/functions/shortcodes.php
r2485673 r2567614 157 157 158 158 } 159 160 159 }
Note: See TracChangeset
for help on using the changeset viewer.