Created
December 12, 2019 10:35
-
-
Save maheshwaghmare/5aff239d7c73b7621555752b00be2d91 to your computer and use it in GitHub Desktop.
Astra Portfolio - Disable the portfolio grid.
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 | |
if( ! function_exists( 'prefix_astra_portfolio_disable_grid_css' ) ) : | |
/** | |
* Disalbe the Portfolio Grid CSS | |
* | |
* @since x.x.x | |
* @return void | |
*/ | |
function prefix_astra_portfolio_disable_grid_css() { | |
wp_deregister_style( 'astra-portfolio-grid' ); | |
} | |
add_action( 'wp_enqueue_scripts', 'prefix_astra_portfolio_disable_grid_css', 90 ); | |
endif; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment