• It would be very helpful if ownership of a duplicated event passed to the user who duplicated it, that way lesser mortals (contributors, authors) could duplicate someone else’s event and then edit it.

    As it stands, they can duplicate the event, then it is stuck in limbo, since they cannot edit or delete it.

    https://www.ads-software.com/plugins/event-rocket/

Viewing 1 replies (of 1 total)
  • Plugin Author Barry

    (@barryhughes-1)

    Hi John,

    I haven’t had a chance to test this, but this sort of code could help you in the interim:

    function er_duplicates_set_author_id( $post_data ) {
        $post_data['post_author'] = wp_get_current_user()->ID;
        return $post_data;
    }
    
    add_filter( 'eventrocket_duplicated_post_data', 'er_duplicates_set_author_id' );

    May need some testing and adjustments ??

Viewing 1 replies (of 1 total)
  • The topic ‘Ownership of Duplicated events’ is closed to new replies.