3.2 The Constructor, Localization, and Hooks
In this episode, we develop the constructor our plugin by setting the necessary attributes required for all WordPress widgets.
We also take a look at the following WordPress features:
- Localization via load_textdomain
- Load files using plugins_url
- Load stylesheets with admin_print_styles and wp_enqueue_scripts
Finally, we also prepare out localization files using POEdit and the following boilerplate for the basic `po` file.