import_start

  • do_action( 'import_start' )

    Source Reference:

    • Component: bbPress:: bbp-admin
      File: /bbp-admin/importers/bbpress.php :: Trac Source Line: 665
      		<?php
      	}
      
      	/**
      	 * Check form inputs and start importing users
      	 *
      	 * @return type
      	 */
      	function step2() {
      		do_action( 'import_start' );
      
      		// Set time limit to 0 to avoid time out errors
      		set_time_limit( 0 );
      
      		if ( is_callable( 'ob_implicit_flush' ) )
      			ob_implicit_flush( true );
      
      		update_option( 'bbp_bbpress_step', 2 );
      
      		$setup = $this->setup();
      
    • Component: bbPress:: bbp-admin
      File: /bbp-admin/importers/bbpress.php :: Trac Source Line: 850
      		</div>
      
      		<?php
      	}
      
      	/**
      	 * Import forums, topics and posts
      	 */
      	function step3() {
      		do_action( 'import_start' );
      
      		set_time_limit( 0 );
      		update_option( 'bbp_bbpress_step', 3 );
      
      		$setup = $this->setup();
      		if ( empty( $setup ) ) {
      			return false;
      		} elseif ( is_wp_error( $setup ) ) {
      			$this->throw_error( $setup, 3 );
      			return false;
      

Comments are closed.