????JFIF??x?x????'
| Server IP : 104.21.30.238 / Your IP : 216.73.216.87 Web Server : LiteSpeed System : Linux premium151.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 User : tempvsty ( 647) PHP Version : 8.0.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /././././proc/self/root/proc/thread-self/cwd/wp-content/plugins/wp-plugin-hostgator/inc/ |
Upload File : |
<?php
/**
* This file customizes Jetpack modules and blocks.
*
* @package HostGatorWordPressPlugin
*/
namespace HostGator;
/**
* Customize the default Jetpack modules that should be enabled.
*
* @param array $modules List of default enabled Jetpack modules
*
* @return array
*/
function customize_jetpack_default_modules( $modules ) {
$modules[] = 'photon';
$modules[] = 'sso';
return array_unique( $modules );
}
add_filter( 'jetpack_get_default_modules', __NAMESPACE__ . '\\customize_jetpack_default_modules' );
/**
* Unregister Jetpack blocks that we do not want enabled by default.
*
* @param array $blocks Collection of registered blocks.
*
* @return array
*/
function jetpack_unregister_blocks( $blocks ) {
$blocks_to_deregister = array(
'mailchimp',
'revue',
);
foreach ( $blocks_to_deregister as $block_slug ) {
$found = array_search( $block_slug, $blocks, true );
if ( false !== $found ) {
unset( $blocks[ $found ] );
}
}
return $blocks;
}
add_filter( 'jetpack_set_available_blocks', __NAMESPACE__ . '\\jetpack_unregister_blocks' );