' . esc_html__('Customize your Sidebar information','amaaaze') . '

'; } function amaaaze_sidebar_profile() { $picture = esc_attr( get_option( 'profile_picture' ) ); if( empty($picture) ){ echo ' '; } else { echo ' '; } } function amaaaze_sidebar_name() { $firstName = esc_attr( get_option( 'first_name' ) ); $lastName = esc_attr( get_option( 'last_name' ) ); echo ' '; } function amaaaze_sidebar_description() { $description = esc_attr( get_option( 'user_description' ) ); echo '

'.esc_html__('Write something smart.','amaaaze').'

'; } function amaaaze_sidebar_twitter() { $twitter = esc_attr( get_option( 'twitter_handler' ) ); echo '

'.esc_html__('Input your Twitter username without @ character.','amaaaze').'

'; } function amaaaze_sidebar_facebook() { $facebook = esc_attr( get_option( 'facebook_handler' ) ); echo ''; } function amaaaze_sidebar_gplus() { $gplus = esc_attr( get_option( 'gplus_handler' ) ); echo ''; } //Sanitization settings function amaaaze_sanitize_twitter_handler( $input ){ $output = sanitize_text_field( $input ); $output = str_replace('@','', $output); return $output; }