social_services_array = apply_filters( 'ocean_about_me_widget_profiles', array( 'facebook' => array( 'name' => 'Facebook', 'url' => '' ), 'google-plus' => array( 'name' => 'GooglePlus', 'url' => '' ), 'instagram' => array( 'name' => 'Instagram', 'url' => '' ), 'linkedin' => array( 'name' => 'LinkedIn', 'url' => '' ), 'pinterest' => array( 'name' => 'Pinterest', 'url' => '' ), 'twitter' => array( 'name' => 'Twitter', 'url' => '' ), 'youtube' => array( 'name' => 'Youtube', 'url' => '' ), ) ); // Start up widget. parent::__construct( 'ocean_about_me', esc_html__( '» About Me', 'ocean-extra' ), array( 'classname' => 'widget-oceanwp-about-me about-me-widget', 'description' => esc_html__( 'Adds an About Me widget.', 'ocean-extra' ), 'customize_selective_refresh' => true, ) ); add_action( 'load-widgets.php', array( $this, 'scripts' ), 100 ); /** * @since 1.3.8 * */ add_action( 'admin_head-widgets.php', array( $this, 'social_widget_style' ) ); add_action( 'admin_footer-widgets.php', array( $this, 'print_scripts' ) ); } /** * Enqueue media scripts * * @since 1.0.0 */ public function scripts() { // If is not customizer to avoid conflict. if ( is_customize_preview() ) { return; } wp_enqueue_media(); } /** * Custom widget style * * @since 1.3.8 * * @param string $hook_suffix */ public function social_widget_style() { ?>
<?php echo esc_attr( $title ); ?>

'. esc_html__( 'Opens in a new tab', 'ocean-extra' ) .''; $results = ocean_link_rel( $ocean_srt, $nofollow, $target ); $ocean_sr = $results[0]; $link_rel = $results[1]; // Display the social. if ( $social_services ) : ?>
esc_html__( 'About Me', 'ocean-extra' ), 'avatar' => OE_URL .'assets/img/about-avatar.png', 'name' => esc_html__( 'John Doe', 'ocean-extra' ), 'text' => 'Lorem ipsum ex vix illud nonummy novumtatio et his. At vix patrioque scribentur at fugitertissi ext scriptaset verterem molestiae.', 'social_style' => 'color', 'target' => 'blank', 'nofollow' => 'no', 'social_services' => $this->social_services_array ) ); ?>


get_field_id( 'social_services' ); $field_name_services = $this->get_field_name( 'social_services' ); ?>