$setup_links Google Cloud / OAuth doc URLs. * @var bool $setup_steps_show_title Whether to render the section title (embedded hint). */ defined( 'ABSPATH' ) || exit; // phpcs:disable WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound -- Partial template locals. $redirect_uri = isset( $redirect_uri ) ? $redirect_uri : ''; $setup_links = isset( $setup_links ) && is_array( $setup_links ) ? $setup_links : array(); $setup_steps_show_title = ! empty( $setup_steps_show_title ); ?>

  1. Google Cloud Console and select (or create) a project.', '4wp-drive' ) ), esc_url( $setup_links['console'] ?? '' ) ); ?>
  2. Google Drive API for this project.', '4wp-drive' ) ), esc_url( $setup_links['drive_api'] ?? '' ) ); ?>
  3. Credentials → Create credentials → OAuth client ID.', '4wp-drive' ) ), esc_url( $setup_links['credentials'] ?? '' ) ); ?>