ID, '_imagify_ignore_notices', true ); $cap = ( imagify_is_active_for_network() ) ? 'manage_network_options' : 'manage_options'; if ( ( isset( $current_screen ) && ( 'settings_page_imagify' === $current_screen->base || 'settings_page_imagify-network' === $current_screen->base ) ) || in_array( 'welcome-steps', (array) $ignored_notices ) || get_imagify_option( 'api_key', false ) || ! current_user_can( apply_filters( 'imagify_capacity', $cap ) ) ) { return; } ?>
ID, '_imagify_ignore_notices', true ); $api_key = get_imagify_option( 'api_key', false ); $cap = ( imagify_is_active_for_network() ) ? 'manage_network_options' : 'manage_options'; if ( ( isset( $current_screen ) && 'media_page_imagify-bulk-optimization' !== $current_screen->base ) || in_array( 'wrong-api-key', (array) $ignored_notices ) || empty( $api_key ) || imagify_valid_key() || ! current_user_can( apply_filters( 'imagify_capacity', $cap ) ) ) { return; } ?> 'wp-smushit/wp-smush.php', // WP Smush 'kraken' => 'kraken-image-optimizer/kraken.php', // Kraken.io 'tinypng' => 'tiny-compress-images/tiny-compress-images.php', // TinyPNG 'shortpixel' => 'shortpixel-image-optimiser/wp-shortpixel.php', // Shortpixel 'ewww' => 'ewww-image-optimizer/ewww-image-optimizer.php', // EWWW Image Optimizer 'ewww-cloud' => 'ewww-image-optimizer-cloud/ewww-image-optimizer-cloud.php', // EWWW Image Optimizer Cloud 'imagerecycle' => 'imagerecycle-pdf-image-compression/wp-image-recycle.php', // ImageRecycle ); /** * Filter the recommended plugins to deactivate to prevent conflicts * * @since 1.0 * * @param string $plugins List of recommended plugins to deactivate */ $plugins = apply_filters( 'imagify_plugins_to_deactivate', $plugins ); $plugins = array_filter( $plugins, 'is_plugin_active' ); /** This filter is documented in inc/admin/options.php */ if ( ! (bool) $plugins || ! current_user_can( apply_filters( 'imagify_capacity', $cap ) ) ) { return; } ?>
WP_HTTP_BLOCK_EXTERNAL constant in the wp-config.php to block all external HTTP requests.', 'imagify' ); ?>
wp-config.php file so that it works correctly.', 'imagify' ); ?>
%s back on %s.', 'imagify' ), size_format( $user->quota * 1048576 ), date_i18n( get_option( 'date_format' ), strtotime( $user->next_date_update ) ) ) . '
' . sprintf( __( 'To continue to optimize your images, log in to your Imagify account to %sbuy a pack or subscribe to a plan%s.', 'imagify' ), '', '' ); ?>