PATH:
home
/
centosnipponia
/
public_html
/
lifannl
/
wp-content
/
themes
/
sydney-pro-ii
/
inc
/
integrations
/
wpml
<?php /** * Integration with WPML for aThemes: Testimonials block */ class Sydney_Pro_WPML_Elementor_Employees extends WPML_Elementor_Module_With_Items { /** * @return string */ public function get_items_field() { return 'employee_list'; } /** * @return array */ public function get_fields() { return array( 'person', 'position', 'link' => array( 'url' ), ); } /** * @param string $field * * @return string */ protected function get_title( $field ) { switch( $field ) { case 'person': return esc_html__( '[aThemes Employees] Name', 'sydney' ); case 'position': return esc_html__( '[aThemes Employees] Position', 'sydney' ); case 'link': return esc_html__( '[aThemes Employees] Link', 'sydney' ); default: return ''; } } /** * @param string $field * * @return string */ protected function get_editor_type( $field ) { switch( $field ) { case 'person': case 'position': case 'link': return 'LINE'; default: return ''; } } }
[+]
..
[-] class-sydney-wpml-employee-carousel.php
[edit]
[-] class-sydney-wpml-portfolio.php
[edit]
[-] class-sydney-wpml-testimonials.php
[edit]
[-] class-sydney-wpml.php
[edit]
[-] .htaccess.disabled
[edit]