spl_autoload_register


spl_autoload_register ( $autoload_function, $throw = true, $prepend = false )

Parameters:
  • (callable) $autoload_function The function to register.
  • (bool) $throw Optional. Whether the function should throw an exception if the function isn't callable. Default true.
  • (bool) $prepend Whether the function should be prepended to the stack. Default false.
Defined at:

Description

Registers a function to be autoloaded.

Related Functions

spl_autoload_unregister, spl_autoload_functions, wp_register, wp_upload_dir, __autoload

Top Google Results

User discussions

wpseek mobile