esc_html()

  $BackButtonName = esc_html($categories[0]->name);
Translated text

esc_html_e( ‘This is somewhat embarrassing, isn’t it?’, ‘kleo’ );

esc_url()

  $BackLink = 'href="' . esc_url(get_category_link( $categories[0]->term_id ) ) . '"';
Feel free to comment if you can add help to this page or point out issues and solutions you have found. I do not provide support on this site, if you need help with a problem head over to stack overflow.

Comments

Your email address will not be published.