admin管理员组

文章数量:1320658

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?

Share Improve this question edited Aug 11, 2019 at 11:41 T.Todua asked Aug 11, 2019 at 7:40 T.ToduaT.Todua 5,8609 gold badges52 silver badges79 bronze badges
Add a comment  | 

1 Answer 1

Reset to default -2

I've found they can be listed by get_declared_classes(), get_defined_functions(), which return all list of available functions.

(full list is here )

本文标签: initWhich functionsclasses are available during SHORTINIT