Viewing 1 replies (of 1 total)
  • Thread Starter OrlandoWebDev

    (@orlandowebdev)

    I figured it out

    Add the code below to functions.php

    function attachments( $attachments ) {
      $args = array(
        'post_type'     => array( 'post','page','event' ), // Adds event as a post type that supports attachments
      );
    
      $attachments->register( 'attachments', $args ); // unique instance name
    }
    
    add_action( 'attachments_register', 'attachments' );
Viewing 1 replies (of 1 total)
  • The topic ‘Using Attachments with Event Organiser’ is closed to new replies.