Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: external-group-blogs Plugin update-bug?


r-a-y
Keymaster

@r-a-y

Andy,

Looking at the codex, it appears you’re missing an add_action.

Change the first five lines of your plugin to:

/* Schedule an event that will update all external blog feeds twice daily. */
function bp_groupblogs_on_activation() {
wp_schedule_event( time(), 'twicedaily', 'bp_groupblogs_action' );
}
register_activation_hook( __FILE__, 'bp_groupblogs_on_activation' );
add_action('bp_groupblogs_action','bp_groupblogs_update_all_feeds');

This is untested, not sure if it will work.

Skip to toolbar