We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This not Work
$loader->add( 'WPTRT\\AdminNotices\\Notice', get_theme_file_path( 'path/to/admin-notices/src' )
$loader->add( $prefix, $path );
$prefix - This should be the namespace of the project.
$prefix
This is work and load the classes
$loader->add( 'WPTRT\\AdminNotices\\', get_theme_file_path( 'path/to/admin-notices/src' ) );
you have to change it to only The namespace
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This not Work
$loader->add( 'WPTRT\\AdminNotices\\Notice', get_theme_file_path( 'path/to/admin-notices/src' )
$loader->add( $prefix, $path );
$prefix
- This should be the namespace of the project.This is work and load the classes
$loader->add( 'WPTRT\\AdminNotices\\', get_theme_file_path( 'path/to/admin-notices/src' ) );
you have to change it to only The namespace
The text was updated successfully, but these errors were encountered: