$data ) { if ( ! $data['show'] ) { continue; } $url = self::get_page_url( $slug ); if ( $slug == self::$parent_page_slug ) { update_option( 'astra_parent_page_url', $url ); } $active = ( $slug == $action ) ? 'nav-tab-active' : ''; ?>