Formatting custom cron action
-
I created this function, which I named nightly_search_index:
function nightly_search_index () { relevanssi_build_index(); }; add_action('nightly_search_index', 'nightly_search_index');
relevanssi_build_index(); is a function I’m trying to schedule from another plugin.
I am not sure about the params for add_action? I thought I read somewhere to name the same, but can’t find where that was… Thanks.
j
The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Formatting custom cron action’ is closed to new replies.