Hey support team,
I have use custom plugin to edit some modules in original Newspaper theme
like
function hook_td_global_after()
{ //add the api code inside this function
// Update social share module
if ( class_exists('td_api_module') ) {
td_api_module::update('td_module_single',
array(
'file' => $this->plugin_path . "/modules/addthis-social-share.php"
)
);
td_api_module::update('td_module_single_mob',
array(
'file' => $this->plugin_path . "/modules/addthis-social-share-mob.php"
)
);
}
}
add_action('td_global_after', array($this, 'hook_td_global_after'));
So my question is
when I update module td_module_single I have no issues,
but when I start override the mobile theme td_module_single_mob
I see error from Booster

The module already exist!
But i’m not trying add new module I use API to update it :/
perhaps for mobile version I have to use another hook? not td_global_after
Hi,
Yes, this hook is already used in the file mentioned: https://www.screencast.com/t/AMzOzDc3W
The theme api system was never tested on the mobile theme plugin. Sorry.
The mobile theme cannot be edited using the main thee api implementatuon presented in our guides.
As for the sharing options, you can select which ones to show or which ones to not show from here: https://www.screencast.com/t/tScGvxeiTIn
Thank you!
Hey @bogdan-b
Solved,
.td-wp-booster-error {
display: none !important;
}
Solution level Wizard 99level ?
just in case, Bogdan,
can you add to backlog to solve API issue?
I just hide error for my users, but its like Homer Simpson checkEngine solution
