Runs on plugin activation and registers rewrite rules for video custom post type




File: includes/libs/plugin.class.php

	public function activation_hook(){
		// register custom post
		// create rewrite ( soft )
		flush_rewrite_rules( false );


		$wp_option = get_option( $this->get_options_obj()->get_option_name() );
		if( !$wp_option ){
			set_transient( 'vimeotheque_setup_activated' , time(), 30 );

Start your video site now!

Manage and coordinate your Vimeo channels, albums or videos with your WordPress website. Perfect fit for membership, portfolio, online courses or any type of video collection.

Get Vimeotheque PRO!