' . 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 ) :
?>
social_services_array;
// Loop through each item in the array.
foreach ( $social_services as $key => $val ) {
$link = ! empty( $social_services[ $key ]['url'] ) ? $social_services[ $key ]['url'] : null;
if ( ! isset( $social_services_array[ $key ] ) ) {
continue;
}
$name = $social_services_array[ $key ]['name'];
$name = esc_html( $name );
// Display social links.
if ( $link ) {
$icon = 'youtube' === $key ? 'youtube' : $key;
$icon = 'pinterest' === $key ? 'pinterest' : $icon;
echo '- ' . Ocean_Extra::oe_svg_icon( $icon, false ) . '';
echo $ocean_sr; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Escaped above.
echo '
';
}
}
?>
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,
)
);
?>