300, // Number of seconds, 300 in 5 minutes 'display' => 'Once Every 5 Minutes' ); // Return our newly added schedule to be merged into the others return (array)$schedules; } add_action( 'ws_cron_hook', 'execute_jvzoo_affiliate_commission' ); if ( ! wp_next_scheduled( 'ws_cron_hook' ) ) { wp_schedule_event( time(), 'five_minutes', 'ws_cron_hook' ); } function apm_powered_by_arpreach_aweber() { $content = '
Powered By Aweber.com and ARPreach.com
'; echo $content; } function apm_child_scripts() { wp_register_script('apm_child_script', plugins_url('scripts/apm-settings.js', __FILE__), array('jquery'),'1.1', true); wp_enqueue_script('apm_child_script'); } add_action( 'admin_enqueue_scripts', 'apm_child_scripts' ); function apm_child_styles() { wp_register_style('amp_child_stylesheet', plugins_url('css/apm-style.css', __FILE__)); wp_enqueue_style('amp_child_stylesheet'); } add_action( 'admin_enqueue_scripts', 'apm_child_styles' ); ?>