'AjaxAdminEndpointRegistrar', 'path' => __FILE__, 'build_id' => self::DIAGNOSTIC_BUILD_ID, )); (new ABJ_404_Solution_Ajax_GetPaginationLinks())->handle(); }); ABJ_404_Solution_WPUtils::safeAddAction('wp_ajax_ajaxRefreshStatsDashboard', function() { (new ABJ_404_Solution_Ajax_RefreshStatsDashboard())->handle(); }); ABJ_404_Solution_WPUtils::safeAddAction('wp_ajax_ajaxRefreshHealthBar', function() { (new ABJ_404_Solution_Ajax_RefreshHealthBar())->handle(); }); ABJ_404_Solution_WPUtils::safeAddAction('wp_ajax_ajaxRefreshAdminNonces', function() { (new ABJ_404_Solution_Ajax_RefreshAdminNonces())->handle(); }); ABJ_404_Solution_WPUtils::safeAddAction('wp_ajax_abj404_run_lazy_backfill', function() { (new ABJ_404_Solution_Ajax_RunLazyBackfill())->handle(); }); ABJ_404_Solution_WPUtils::safeAddAction('wp_ajax_ajaxRunCanaryStep', function() { // See the ajaxUpdatePaginationLinks closure above. ABJ_404_Solution_BootWaypointRecorder::record('ajax_dispatch', array( 'module' => 'AjaxAdminEndpointRegistrar', 'path' => __FILE__, 'build_id' => self::DIAGNOSTIC_BUILD_ID, )); (new ABJ_404_Solution_Ajax_CanaryLadder())->handle(); }); // wp_ajax_nopriv_ is for normal users; these endpoints are admin-only. } }