|
Server IP : 10.131.40.8 / Your IP : 216.73.216.15 Web Server : Apache System : Linux webd008.cluster131.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64 User : ludmqhh ( 137773) PHP Version : 8.4.10 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /home/ludmqhh/www/jscom/../guillaume/wp-content/plugins/spotlight-social-photo-feeds/ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
<?php
if ( !function_exists( 'sliFreemius' ) ) {
// Create a helper function for easy SDK access.
function sliFreemius()
{
/* @var $sliFreemius Freemius */
global $sliFreemius ;
if ( !isset( $sliFreemius ) ) {
// Include Freemius SDK.
require_once dirname( __FILE__ ) . '/vendor/freemius/wordpress-sdk/start.php';
try {
$sliFreemius = fs_dynamic_init( [
'id' => '5975',
'slug' => 'spotlight-social-photo-feeds',
'type' => 'plugin',
'public_key' => 'pk_c3d236fabdccc79ce32cd916ce2a2',
'is_premium' => false,
'has_addons' => false,
'has_paid_plans' => true,
'is_org_compliant' => true,
'trial' => [
'days' => 14,
'is_require_payment' => true,
],
'has_affiliation' => 'selected',
'menu' => [
'slug' => 'spotlight-instagram',
'pricing' => true,
'support' => false,
'contact' => true,
'affiliation' => false,
],
'is_live' => true,
] );
} catch ( Freemius_Exception $e ) {
// Do nothing
return null;
}
}
$sliFreemius->override_i18n( [
'account' => __( 'License', 'sl-insta' ),
'contact-us' => __( 'Help', 'sl-insta' ),
] );
return $sliFreemius;
}
// Init Freemius.
sliFreemius();
// Set plugin icon
sliFreemius()->add_filter( 'plugin_icon', function () {
return __DIR__ . '/ui/images/spotlight-icon.png';
} );
// Disable affiliate notice
sliFreemius()->add_filter( 'show_affiliate_program_notice', '__return_false' );
// Disable auto deactivation
sliFreemius()->add_filter( 'deactivate_on_activation', '__return_false' );
// Disable redirect on activation
sliFreemius()->add_filter( 'redirect_on_activation', '__return_false' );
// Signal that SDK was initiated.
do_action( 'sli_freemius_loaded' );
}
