.gform_media_icon{ background-position: center center; background-repeat: no-repeat; background-size: 16px auto; float: left; height: 16px; margin: 0; text-align: center; width: 16px; padding-top:10px; } .ai_content_writer_icon:before{ color: #999; padding: 7px 0; transition: all 0.1s ease-in-out 0s; } .wp-core-ui a.gform_media_link{ padding-left: 0.4em; } '; if ( $post_type === 'product' ) { if ( $editor_id === 'content' ) { echo 'Sage AI Product Writer'; } if ( $editor_id === 'excerpt' ) { echo 'Sage AI Product Writer'; } } else { echo 'Sage AI Writer'; } } } new Sage_AI_Core_Tinymce_Button();