Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support J Burns

    (@subiewrx)

    Hi @garconis,

    We are currently looking into a solution that will work for you.

    I will contact you as soon as I know more.

    Thank you for your patience!

    Plugin Support J Burns

    (@subiewrx)

    Hi @garconis,

    Please use the following code snippet –

    add_action( 'current_screen', 'remove_aioseo_column', 0 );
    function remove_aioseo_column() {
    	global $wp_filter;
    
    	if ( empty( $wp_filter['current_screen'][1] ) ) {
    		return;
    	}
    
    	foreach ( $wp_filter['current_screen'][1] as $actionName => $params ) {
    		if (
    			empty( $params['function'][0] ) ||
    			! is_object( $params['function'][0] ) ||
    			stripos( get_class( $params['function'][0] ), 'aioseo' ) === false
    		) {
    			continue;
    		}
    
    		remove_action( 'current_screen', $params['function'], 1 );
    	}
    }

    You can easily add this by using the WPCode plugin.

    Please let me know if this works for you or if you have any other questions.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Remove AIOSEO Details via remove_action ?’ is closed to new replies.