1 | <?php |
||||
2 | /** |
||||
3 | * Define the internationalization functionality. |
||||
4 | * |
||||
5 | * Loads and defines the internationalization files for this plugin |
||||
6 | * so that it is ready for translation. |
||||
7 | * |
||||
8 | * @link https://github.com/maab16 |
||||
9 | * @since 1.0.0 |
||||
10 | */ |
||||
11 | |||||
12 | /** |
||||
13 | * Define the internationalization functionality. |
||||
14 | * |
||||
15 | * Loads and defines the internationalization files for this plugin |
||||
16 | * so that it is ready for translation. |
||||
17 | * |
||||
18 | * @since 1.0.0 |
||||
19 | * |
||||
20 | * @author Md Abu Ahsan basir <[email protected]> |
||||
21 | */ |
||||
22 | class WPB_I18n |
||||
23 | { |
||||
24 | /** |
||||
25 | * Load the plugin text domain for translation. |
||||
26 | * |
||||
27 | * @since 1.0.0 |
||||
28 | */ |
||||
29 | public function load_plugin_textdomain() |
||||
30 | { |
||||
31 | load_plugin_textdomain( |
||||
0 ignored issues
–
show
Bug
introduced
by
![]() |
|||||
32 | 'wpb', |
||||
33 | false, |
||||
34 | dirname(dirname(plugin_basename(__FILE__))).'/languages/' |
||||
0 ignored issues
–
show
The function
plugin_basename was not found. Maybe you did not declare it correctly or list all dependencies?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
![]() |
|||||
35 | ); |
||||
36 | } |
||||
37 | } |
||||
38 |