Plugins no UpDate

Hi
I use the plugin SecuPress Pro (Premium), but the updates are not detected, some sites yes and others not, it’s random.
I waited 48 hours to see if my dashboard saw the updates but no.

I have find this code (for Custom Dashboard) but nothing effect

add_filter( 'mainwp_detect_premium_plugins_update', 'myhook_mainwp_detect_premium_plugins_update', 10 );
function myhook_mainwp_detect_premium_plugins_update( $premiums ) {
   $premiums[] = 'mai-theme-engine/mai-theme-engine.php';
   return $premiums;
}

Thank you

Olivier

Hi @Olivier,

The snippet example that you shared looks to be set for Mai Theme Engine plugin.

Have you tweaked it for the SecuPress Pro plugin?

It’s true lol
No but i go now…
I tell you after

I am not sure about the syntax, I am not sure how to do it.
It’s just like this :

add_filter( 'mainwp_detect_premium_plugins_update', 'myhook_mainwp_detect_premium_plugins_update', 10 );
function myhook_mainwp_detect_premium_plugins_update( $premiums ) {
   $premiums[] = 'secupress-pro/secupress-pro.php';
   return $premiums;
}

If the folder name and file name is correct, the syntax is ok.

Is there any improvement after adding this code snippet?

Yes it’s correct.
No update detected for SecuPress Pro

Would you mind opening a private Help Desk ticket so we can collect some additional information & investigate further?

1 Like

OK
ccccccccccccccccccc (for the 20 caracters ^^)

thanks

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.