When we want to load WP core with:
define( 'SHORTINIT', true );
require( __DIR__ .'/wp-load.php');
Which WordPress functions are available for us? i.e. get_option, WP_Query
... or which ones are available then? Is there any documentation?
When we want to load WP core with:
define( 'SHORTINIT', true );
require( __DIR__ .'/wp-load.php');
Which WordPress functions are available for us? i.e. get_option, WP_Query
... or which ones are available then? Is there any documentation?
1 Answer
Reset to default -2I've found they can be listed by get_declared_classes()
, get_defined_functions()
, which return all list of available functions.
(full list is here )