PATH:
var
/
www
/
clients
/
client1
/
web1
/
web
/
wp-content
/
sitepress-multilingual-cms
/
classes
/
translations
<?php /** * @author OnTheGo Systems */ class WPML_Menu_Element extends WPML_Term_Element { /** * WPML_Menu_Element constructor. * * @param int $id * @param SitePress $sitepress * @param WPML_WP_Cache $wpml_cache */ public function __construct( $id, SitePress $sitepress, WPML_WP_Cache $wpml_cache = null ) { $this->taxonomy = 'nav_menu'; parent::__construct( $id, $sitepress, $this->taxonomy, $wpml_cache ); } /** * @param stdClass $element_data standard object containing at least the `term_id` property. * * @return WPML_Menu_Element * @throws \InvalidArgumentException Exception. */ public function get_new_instance( $element_data ) { return new WPML_Menu_Element( $element_data->term_id, $this->sitepress, $this->wpml_cache ); } }
[-] class-wpml-translation-element.php
[edit]
[-] class-wpml-translations.php
[edit]
[-] class-wpml-menu-element.php
[edit]
[-] class-wpml-post-element.php
[edit]
[-] class-wpml-element-type-translation.php
[edit]
[-] interface-wpml-duplicable-element.php
[edit]
[-] class-wpml-translation-element-factory.php
[edit]
[+]
..
[-] class-wpml-term-element.php
[edit]