How to figure out key name?

Home Forums Bulk Delete Addons Delete Posts by Custom Field How to figure out key name?

We have replaced our forums with email based support system.

Please open a support ticket from our new support page.

This topic contains 1 reply, has 2 voices, and was last updated by  Sudar 7 years, 5 months ago.

  • Author
    Posts
  • #11128

    Scott Harris
    Participant

    I am trying to delete events in the all in one calendar and purchased the bulk delete post by custom field addon for that. Is the ‘key’ the same as the field name in phpmyadmin? The ai1ec_events table lists fields called start and end, but when I try to delete events that ended prior to 5/31/2017, none are getting deleted. I have it set like this:
    delete by custom field
    post type=ailec_event
    key=end
    less than (date)
    20170531

    When I choose to delete, no events get deleted. Am I setting it up right?

  • #11195

    Sudar
    Keymaster

    Hello Scott,

    The key is the value that is displayed in the meta_key column of the post_meta table.

The forum ‘Delete Posts by Custom Field’ is closed to new topics and replies.