This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Remove jQuery Migrate. | |
* | |
* @see https://tenor.com/ovzn.gif | |
* | |
* @param \WP_Scripts $scripts The WP_Scripts instance. | |
*/ | |
public function remove_jquery_migrate( $scripts ) { | |
if ( ! empty( $scripts->registered['jquery'] ) ) { | |
$scripts->registered['jquery']->deps = array_diff( $scripts->registered['jquery']->deps, array( 'jquery-migrate' ) ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* This file houses the class that Extends the Yoast Schema Graph for course events | |
* | |
* @package ef/inc | |
*/ | |
if ( interface_exists( 'WPSEO_Graph_Piece' ) ) { | |
/** | |
* The class that extends WPSEO_Graph_Piece to display event schema for courses. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$fa_dictionary = array( | |
'glass' => 'fa-glass', | |
'music' => 'fa-music', | |
'search' => 'fa-search', | |
'envelope-o' => 'fa-envelope-o', | |
'heart' => 'fa-heart', | |
'star' => 'fa-star', | |
'star-o' => 'fa-star-o', | |
'user' => 'fa-user', |