public/wordpress/wp-content/plugins/wp-courseware/includes/controllers/courses.php
/**
	 * Add Icon to Taxonomy Title.
	 *
	 * @since 4.4.0
	 */
Add Icon to Taxonomy Title.
Add Icon to Taxonomy Title .
public function taxonomy_title_icon() {
		global $current_screen;
		if ( empty( $current_screen->taxonomy ) || ! in_array( $current_screen->taxonomy, array( $this->taxonomy_tag_slug, $this->taxonomy_category_slug ) ) ) {
			return;
		}
		echo
			'<style type="text/css">
                .wrap h1.wp-heading-inline {
                    position: relative;
                    padding-top: 4px;
                    padding-left: 50px;
                    margin-right: 10px;
                }
                .wrap h1.wp-heading-inline:before {
                    background-image: url("' . wpcw_image_file( 'wp-courseware-icon.svg' ) . '");
                    background-size: 40px 40px;
                    content: "";
                    display: inline-block;
                    position: absolute;
                    top: -2px;
                    left: 0;
                    width: 40px;
                    height: 40px;
                }
            </style>';
	}
public function taxonomy_title_icon ( ) { global $ current_screen ; if ( empty ( $ current_screen -> taxonomy ) || ! in_array ( $ current_screen -> taxonomy , array ( $ this -> taxonomy_tag_slug , $ this -> taxonomy_category_slug ) ) ) { return ; } echo '<style type="text/css">
                .wrap h1.wp-heading-inline {
                    position: relative;
                    padding-top: 4px;
                    padding-left: 50px;
                    margin-right: 10px;
                }
                .wrap h1.wp-heading-inline:before {
                    background-image: url("' . wpcw_image_file ( 'wp-courseware-icon.svg' ) . '");
                    background-size: 40px 40px;
                    content: "";
                    display: inline-block;
                    position: absolute;
                    top: -2px;
                    left: 0;
                    width: 40px;
                    height: 40px;
                }
            </style>' ; }
Add Icon to Taxonomy Title.
Add Icon to Taxonomy Title .