You appear to be a bot. Output may be restricted
Description
Constructs the i18n module for wordpress.org.
Required fields are the 'textdomain', 'plugin_name' and 'hook'.
Usage
Yoast_I18n_WordPressOrg_v3::__construct( $args, $show_translation_box );
Parameters
- $args
- ( array ) required – The settings for the i18n module.
- $show_translation_box
- ( bool ) optional default: 1 – Whether the translation box should be shown.
Returns
void
Source
File name: wordpress-seo/vendor/yoast/i18n-module/src/i18n-wordpressorg-v3.php
Lines:
1 to 7 of 7
public function __construct( $args, $show_translation_box = true ) { $args = $this->set_defaults( $args ); $this->i18n = new Yoast_I18n_v3( $args, $show_translation_box ); $this->set_api_url( $args['textdomain'] ); }