layers_add_builder_edit_button_css

The Layers layers add builder edit button css function.

Description

layers_add_builder_edit_button_css(); 

Usage

  1. if ( !function_exists( 'layers_add_builder_edit_button_css' ) ) { 
  2. require_once '/core/helpers/post.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = layers_add_builder_edit_button_css(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/core/helpers/post.php  
  1. function layers_add_builder_edit_button_css() { 
  2. global $pagenow; 
  3. if ( 'post.php' === $pagenow || ! is_admin() ) : ?> 
  4. <style> 
  5. #wp-admin-bar-layers-edit-layout .ab-icon:before{ 
  6. font-family: "layers-interface" !important; 
  7. content: "\e62f" !important; 
  8. font-size: 16px !important; 
  9. </style> 
  10. <?php endif;