Open masitings opened 5 years ago
(I've edited your post to add syntax highlighting to the code blocks.)
Assuming that this is the whole code, it looks like it's missing something: you need to hook the update_pinterin
function to the custom update_pinterin
action. Like this:
add_action('update_pinterin', 'update_pinterin');
Hi, i have a problem when i want to put the updater separately from the main index plugin. I put the updater on files
activation.php
in functionupdate_pinterin
and then on main index plugin i called do_action function for calling theupdate_pinterin
but it seems not working and the updater was not showing when i activated the plugin.This is the main index code :
This is the files for
activation.php
Please help, thanks.