Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter mfrie01

    (@mfrie01)

    You have a function to save a new event, my_calendar_save(), which accepts an array with the event data to be or updated. This is called by edit_my_calendar() which validates and formats the data from the $_POST to prepare it for the save. I want to pass an array of my data to your program to programmatically add a new event. A shortcode that collected the passed attributes and then called something like edit_my_calendar() would substitute my array for the $_POST array and allow me to add or edit events: [my_calendar_edit mode=’add’ event=$myarray]. Without access to your functions what I’ll do is just stuff my data into your tables with my own add/update functionality. It will work fine that way, but I thought you might have something already available.

    Thread Starter mfrie01

    (@mfrie01)

    Yes, the wp-content folder was renamed. I see “wp-content/plugins/” is hard-coded in customsidebars.php. The plugins_url() function should be used instead.

Viewing 2 replies - 1 through 2 (of 2 total)