web/wp-content/plugins/caldera-forms/classes/api/load.php
/**
	 * Initialize routes for this namespace
	 *
	 * @since 1.4.4
	 *
	 * @return bool True if loading happened, false if not
	 */
Initialize routes for this namespace
@since 1.4.4

@return bool True if loading happened, false if not
Initialize routes for this namespace @since 1 . 4 . 4 @return bool True if loading happened false if not
public function init_routes(){
		if( ! empty( $this->routes ) && ! did_action( "caldera_forms_rest_api_init_$this->namespace" ) ){
			foreach ( $this->routes as $route ){
				$route->add_routes( $this->namespace );
			}
			do_action( "caldera_forms_rest_api_init_$this->namespace", $this->routes );
			return true;
		}
		return false;
	}
public function init_routes ( ) { if ( ! empty ( $ this -> routes ) && ! did_action ( " caldera_forms_rest_api_init_ $ this -> namespace " ) ) { foreach ( $ this -> routes as $ route ) { $ route -> add_routes ( $ this -> namespace ) ; } do_action ( " caldera_forms_rest_api_init_ $ this -> namespace " , $ this -> routes ) ; return true ; } return false ; }
Initialize routes for this namespace
 @since 1.4.4
Initialize routes for this namespace @since 1 . 4 . 4
/** @var Caldera_Forms_API_Route $route */ /**
			 * Runs after Caldera Forms REST API is loaded
			 *
			 * Dynamic part of hook is the namespace, so may run for each version
			 *
			 * @since 1.4.4
			 *
			 * @param array $routes Route objects that were added.
			 */