Support » Plugins » Campaign Contributor Roles

  • Hi

    we are setting up a crowdfunding site with franklin crowdfunding theme and we have EDD plugin installed & Astoundify appthemer crowdfunding plugin aswell

    We’re looking into appthemer files, we found this argument in the roles, it gives the contributor not subscriber the right to edit etc. if we change this or add another one replacing contributor with subscriber or something will it work?

    if ( is_object( $wp_roles ) ) { $wp_roles->add_cap( ‘campaign_contributor’, ‘submit_campaigns’ ); $wp_roles->add_cap( ‘campaign_contributor’, ‘edit_product’ ); $wp_roles->add_cap( ‘campaign_contributor’, ‘edit_products’ ); $wp_roles->add_cap( ‘campaign_contributor’, ‘delete_product’ ); $wp_roles->add_cap( ‘campaign_contributor’, ‘delete_products’ ); $wp_roles->add_cap( ‘campaign_contributor’, ‘publish_products’ ); $wp_roles->add_cap( ‘campaign_contributor’, ‘edit_published_products’ ); $wp_roles->add_cap( ‘campaign_contributor’, ‘assign_product_terms’ );

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Campaign Contributor Roles’ is closed to new replies.