wordpress-sdk
wordpress-sdk copied to clipboard
The tab navigation feature is available only when the argument 'is_org_compliant' is set
🐞 bug report
Behavior:
During the initialisation of the Freemius SDK, passing 'navigation' => 'tabs' with the settings is not sufficient to show the navigation tabs. For that to work, one also has to specify 'is_org_compliant' => true`. This seems to be due to a check, inside the SDK, that verifies that the tabs are enabled and that the WP.org compliance is set.
This won't enable the tabs
fs_dynamic_init(array(
'id' => '8339',
'slug' => 'plugin-slug',
'type' => 'plugin',
'navigation' => 'tabs',
'is_org_compliant' => false,
// Other arguments
));
This will enable the tabs
fs_dynamic_init(array(
'id' => '8339',
'slug' => 'plugin-slug',
'type' => 'plugin',
'navigation' => 'tabs',
'is_org_compliant' => true,
// Other arguments
));
Versions: (*)
Freemius SDK Version:2.4.2WordPress Version:5.7.xPHP Version:7.2-7.4
Plugin / Theme: (*)
Name:WooCommerce Prices by CountrySlug:woocommerce-prices-by-countryFreemius ID:8339