get_all(); ?>

label ); if ( ! empty( $integration->extra ) ) { $help_text .= ' ' . $integration->extra; } if ( ! empty( $integration->read_more_label ) ) { $url = $integration->read_more_url; if ( ! empty( $integration->premium ) && $integration->premium === true ) { $url = $integration->premium_url; } $help_text .= ' '; $help_text .= sprintf( '%2$s', esc_url( WPSEO_Shortlinker::get( $url ) ), esc_html( $integration->read_more_label ) ); } $feature_help = new WPSEO_Admin_Help_Panel( $integration->setting, /* translators: %s expands to an integration's name */ sprintf( esc_html__( 'Help on: %s', 'wordpress-seo' ), esc_html( $integration->name ) ), $help_text ); $name = $integration->name; if ( ! empty( $integration->premium ) && $integration->premium === true ) { $name .= ' ' . new Premium_Badge_Presenter( $integration->name ); } if ( ! empty( $integration->new ) && $integration->new === true ) { $name .= ' ' . new Badge_Presenter( $integration->name ); } $attributes = []; $disabled = false; if ( $integration->premium === true && YoastSEO()->helpers->product->is_premium() === false ) { $attributes = [ 'disabled' => true ]; } // If the integration is disabled, do not show note showing // the integration is disabled by network admin. if ( isset( $integration->disabled ) && $integration->disabled === true ) { $attributes = [ 'disabled' => true, 'show_disabled_note' => false, ]; } $yform->toggle_switch( $integration->setting, [ 'on' => __( 'On', 'wordpress-seo' ), 'off' => __( 'Off', 'wordpress-seo' ), ], $name, $feature_help->get_button_html() . $feature_help->get_panel_html(), $attributes ); do_action( 'Yoast\WP\SEO\admin_integration_after', $integration ); } ?>
hidden( 'show_onboarding_notice', 'wpseo_show_onboarding_notice' );