daily pastebin goal
41%
SHARE
TWEET

Untitled

a guest Apr 10th, 2017 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. // put custom code here
  3.  
  4. add_filter( 'breadcrumb_trail_labels', 'custom_breadcrumb_home_word' );
  5. function custom_breadcrumb_home_word($args) {
  6.     $new_args = array(
  7.              'home'  => __( 'Home:Translated ' , 'airpro' )  //this option replaces the word "Home" with a custom text
  8.              // 'home'  => '<span class="fa fa-home"></span>'  // this option sets a font awesome icon; http://fortawesome.github.io/Font-Awesome/icon/home/
  9.          );
  10.     return array_merge($args, $new_args);
  11. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top