title: How to change the "Edit Page" frontend toolbar text in Wordpress? (Snippet)
body: <p>I am looking for a snippet function to replace the default "Edit Page" text that shows in the Wordpress toolbar. </p>
  
  <p>I have disabled it on the backend altogether, because I am using a frontend builder for Editing pages and I want clients to understand which button does what. On the frontend I only have two options for an admin in the Toolbar > "Edit Page", "Edit Frontend". I want to change "Edit Page" to Edit Backend. </p>
  
  <p>The "Edit Backend" text I think will suffice in the concept for where "Edit Page" would be "Edit Post", "Edit Product", etc. since the Frontend Builder handles all post types. </p>
  
  <p>I would like a function snippet so I can leave the Wordpress core alone and updates are seamless. </p>
  
  <p>I'm new here too, so thanks for listening and the help! 
  You have already helped me learn a lot from other searches, but I now officially have an account. </p>
  
  <p>UPDATE: </p>
  
  <p>I wanted this snippet to just reflect when viewing the frontend of the site while logged in. The official code I've used to achieve this is below. </p>
  
  <p>(I just wrapped Dylan's code in the is_admin)</p>
  
  <p>The reason for this was frontend editors. I want it to be simple on the frontend saying "Edit Frontend" or "Edit Backend". </p>
  
  <pre><code>// Change The Edit Toolbar Text "Edit" to "Edit Backend"
  add_action('wp_before_admin_bar_render', 'change_admin_bar',999);
  
  function change_admin_bar() {
  
      if ( ! is_admin() ) {
  
      global $wp_admin_bar;
      $wp_admin_bar-&gt;remove_node('edit');
  
      $args = array(
          'id' =&gt; 'edit',
          'title' =&gt; 'Edit Backend',
         'href' =&gt; get_edit_post_link(),
      );
  
      $wp_admin_bar-&gt;add_node($args);
  
      }
  }
  </code></pre>