AIOSEOPPRO no longer works to check as defined?
-
I was previously using this function to do stuff in my child theme:
if ( ! function_exists( 'child_grid_styling_fix' ) ) { add_action( 'us_before_template:templates/us_grid/listing', 'child_grid_styling_fix' ); function child_grid_styling_fix() { if ( defined( 'AIOSEOPPRO' ) ) { global $us_grid_layouts; $us_grid_layouts = array(); } } }
But it no longer seems to work. Do you know what I need to use sin the if statement? I tried swapping
AIOSEOPPRO
withaioseo
… but that didn’t seem to help make it work again.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘AIOSEOPPRO no longer works to check as defined?’ is closed to new replies.