Skip to main content

Filter: gk/foundation/ajax/{$router}/routes

Modifies a list of Ajax routes that map to backend functions/class methods. $router groups routes to avoid a name collision (e.g., 'settings', 'licenses').

Parameters

NameTypeDescription
$routesarray[]Ajax route to function/class method map.

Since

  • 1.0.0

Source

Defined in WP/AjaxRouter.php at line 119