Automator_Load::automator_activated( $plugin )


Parameters Parameters

$plugin

(Required)


Source Source

File: src/class-automator-load.php

	public function automator_activated( $plugin ) {
		if ( $plugin == plugin_basename( AUTOMATOR_BASE_FILE ) && true === apply_filters( 'automator_on_activate_redirect_to_dashboard', true ) ) {
			exit( wp_redirect( admin_url( 'edit.php?post_type=uo-recipe&page=uncanny-automator-dashboard' ) ) );
		}
	}