verrado

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: Adding shortcode button to WYSIWYG bar in single event #1246543
    verrado
    Participant

    Sorry for the confusion – I think I figured it out. I developed a plugin that allows the admin to restrict certain content based on a specific user role. The plugin has a button that is visible in the visual editor that could be seen in posts and pages, however, it was not showing up in the event posts, so I had to figure out what the custom post type was to tell the plugin to insert the shortcode button on event posts wysiwyg editor.

    The problem was I didn’t know the way to call tribe events and its post type, but I figured it out the post type – “tribe_events” and the user permission “edit_tribe_events”.

    Sorry for the confusion!

    Matt

Viewing 1 post (of 1 total)