Action_Endpoint::handle_request( WP $wp )

Summary

No summary available.

Parameters

$wp

(WP) (Required)


Return

(void)


Source

File: src/BigCommerce/Rewrites/Action_Endpoint.php

	public function handle_request( $wp ) {
		if ( empty( $wp->query_vars[ self::QUERY_VAR ] ) ) {
			return;
		}
		$args     = explode( '/', $wp->query_vars[ self::QUERY_VAR ] );
		$endpoint = array_shift( $args );
		do_action( 'bigcommerce/action_endpoint/' . $endpoint, $args );
	}

User Contributed Notes

You must log in before being able to contribute a note or feedback.