From c23bfe573fefafb7c9678537a90b53268f4a4e36 Mon Sep 17 00:00:00 2001 From: Mohamed Taman <64714190+mtaman@users.noreply.github.com> Date: Sun, 21 Jun 2020 19:40:19 +0300 Subject: [PATCH] Readme - autoloader $prefix - This should be the namespace of the project. --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index f09f81a..b61682b 100644 --- a/readme.md +++ b/readme.md @@ -93,7 +93,7 @@ include get_theme_file_path( 'path/to/autoload/src/Loader.php' ); $loader = new \WPTRT\Autoload\Loader(); -$loader->add( 'WPTRT\\Customize\\Section', get_theme_file_path( 'path/to/customize-section-button/src' ) ); +$loader->add( 'WPTRT\\Customize\\', get_theme_file_path( 'path/to/customize-section-button/src' ) ); $loader->register(); ```