• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
Yoast SEO a2z

Yoast SEO a2z

WordPress SEO a2z

  • Home
  • Plugins
  • Blocks
  • Shortcodes
  • APIs
  • Classes
  • Files
  • Hooks
  • Sitemap
  • Blog
Home / APIs / Yoast_I18n_WordPressOrg_v3::__construct() – Constructs the i18n module for wordpress.org.

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'] );
  }
 

 View on GitHub View on Trac

Published: 27th November 2019 | Last updated: 27th November 2019

Primary Sidebar

Information

Function name: Yoast_I18n_WordPressOrg_v3::__construct
Class ref: Yoast_I18n_WordPressOrg_v3
Plugin ref: Yoast SEO
Version: 15.4
Sourcefile: vendor/yoast/i18n-module/src/i18n-wordpressorg-v3.php
File ref: vendor/yoast/i18n-module/src/i18n-wordpressorg-v3.php
Deprecated?: No
API Letters: I,V,W,Y

Footer

Yoast SEO a2z
Yoast SEO a2z
WordPress SEO a2z
WordPress 5.6
WordPress a2z
WordPress core a2z
Genesis Theme Framework a2z
Jetpack a2z
WordPress develop tests
Easy Digital Downloads a2z
WooCommerce a2z
Yoast SEO a2z
WordPress Blocks

Site:  wordpress-seo.wp-a2z.org
© Copyright Yoast SEO a2z 2017-2021. All rights reserved.


Website designed and developed by Herb Miller
Proudly powered by WordPress and oik plugins

  • Home
  • Blog
  • Sitemap
  • Sites