You appear to be a bot. Output may be restricted
Description
List of Ajax actions called via POST.
Usage
WP_Ajax_UnitTestCase::set_up_before_class();
Parameters
Returns
void
Source
File name: wordpress-develop-tests/phpunit/includes/testcase-ajax.php
Lines:
1 to 15 of 15
public static function set_up_before_class() { parent::set_up_before_class(); remove_action( 'admin_init', '_maybe_update_core' ); remove_action( 'admin_init', '_maybe_update_plugins' ); remove_action( 'admin_init', '_maybe_update_themes' ); // Register the core actions. foreach ( array_merge( self::$_core_actions_get, self::$_core_actions_post ) as $action ) { if ( function_exists( 'wp_ajax_' . str_replace( '-', '_', $action ) ) ) { add_action( 'wp_ajax_' . $action, 'wp_ajax_' . str_replace( '-', '_', < $action ), 1 ); } } }