It could be the phrasing of the array so try setting the array outside the wp_schedule_event call:
$args = array('type'=>$instance['type']);
wp_schedule_event(time() , 'twicedaily', 'fhprw_action',$args);
Related Posts:
- How to test wp_cron?
- How to represent “event” in a UML Class Diagram?
- WP Cron Doesn’t Execute When Time Elapses
- trigger save_post event programmatically
- wp_schedule_event not working?
- Recommendation for a WordPress Calendar Plugin with Recurring Events? [closed]
- How Do I Make WordPress Run an Event Every Day?
- Post date vs. event date in WordPress
- Looking for a simple calendar/events plugin [closed]
- PHP5, Inheritance, Singleton – action & filter hook limitations
- How can I invoke an action after a CiviCRM triggering event?
- Why is wp-cron only executing on page visit?
- WP_cron won’t trigger my action
- Create cron job without a plugin?
- Create a custom event post
- Event-Driven Pattern vs MVC?
- Show events date instead of article date in default calendar widget
- Calling plugin function inside custom plugin for onclick event
- Events plugin for irregular / complex events [closed]
- Is there way to run a code every time when any cron is run?
- Redux callback action
- How to get an event to fire using Google Tag Manager for the wordpress audio player?
- WP cron doesn’t pass through my arguments
- Event Organiser: Event list includes regular Posts & custom fields? [closed]
- Single Events as Sub-Page to Main Calendar Page
- A unique wp_schedule_single_event() for each post?
- Dynamic name of cron event
- Reverse order of events on homepage [closed]
- Update user meta after one hour
- Event booking form for wordpress
- Plugin: Events manager – Next and previous event
- Change status of page after an event (Looking for best practice advice)
- Event Management plugin
- Is there a way to know when a page has been updated and do some action only once?
- How to Create Events Calendar
- Group the events post in month+year format?
- profile_update hook does not fire from front-end
- how can create carousel for posts that will be published a month later?
- Can I run a slow action in a seperate thread?
- Upcoming events
- Add option in th event calendar
- XML Imported Custom Posts
- Post Terms As Class Name For Full Calendar Events
- I am trying to implement some logic on real time order sync using scheduler
- Passing a parameter to filter and action functions
- Get a list of all registered actions
- how to limit search to post titles?
- Trying to use add_action and do_action with parameters
- How do you use the plugin boilerplate loader class to hook actions and filters?
- Restrict access to admin but allow admin_post hook
- Adding an action within a function that is being called by add_filter
- Count singular post views automatically
- Is it safe to run wp-cron.php twice if the first instance takes too long?
- Reuse variable in hook callback
- What would cause the ‘wp’ action to fire twice per page (but only once per post) in Firefox only?
- changing variable through filters or action hooks
- How to prepend to the_title for admin-side plugin’s use
- Which filter/action hook gets triggered after a query has been performed?
- Using pre_get_posts to Filter Posts
- How To Get User Data in Callback Function for pre_user_nicename?
- What’s the best way to split admin-only functionality in the theme’s functions.php file?
- How to load script-related styles automatically?
- WP Cron is “half-failing” to insert posts
- Cron job script – loading wordpress system fails
- How to filter content for specific content variable
- Wait a result before enqueue
- Function added using `add_action()` not being called
- How to get a single hook from wp_head()?
- How to access author data from header action
- How to trace SUBMIT button
- Call Web Services on post first publish
- WordPress ajax-action how to return content
- Why does my delete_post hook get called twice
- Cron jobs when running multiple instances on the same DB
- How to access deleted term inside delete_product_cat action
- Replace admin header logo with an image
- template_redirect action only firing if logged in
- How do I list the next 7 days and any events (cpt) contained in those days
- How to make a function occurs for one time?
- Using publish_{custom-post-type} hook for custom post type to update meta doesn’t work
- RTrouble passing arguments to action
- Issue passing action class to nested function. Admin Columns
- Events Manager: Create custom Placeholder for use in Email notification
- Count singular post views automatically
- add action for wordpress query at a specific position
- publish_post action callback not executed, why?
- Primary navigation menu with timed items from custom post type
- Add Action wp_update_post not Updating WYSWIAG editor
- remove action from woocommerce file
- How can I insert custom html code inside a div dynamically?
- how to make a cronjob run, when user needs to be logged in
- WordPress Cron function is not working
- do_action in header, add action later?
- Suppress the_content filter in a nested loop
- save post running twice and creating two database entries – how do I disable this?
- Cron event running more than once if triggered from WP Crontrol
- escaping double quotes and percent signs (%) in cron
- Add custom button to the changeset status in the Customizer
- Detecting whenever a user types – in the Gutenberg editor, and checking if there is a preceding or succeeding – then converting both to an em dash
- Modify upload directory to use post category slug in file path on multisite installation