Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

Facebook_Helpers::get_fb_settings_content()


Source

File: src/integrations/facebook/helpers/facebook-helpers.php

	private function get_fb_settings_content() {
		ob_start();
		?>
		<?php if ( $this->is_user_connected() ) : ?>
			<a href="<?php echo esc_url( $this->get_disconnect_url() ); ?>"
				class="uo-settings-btn uo-settings-btn--error">
				<?php esc_html_e( 'Disconnect Facebook Pages' ); ?>
			</a>
		<?php else : ?>
			<a href="<?php echo esc_url( $this->get_login_dialog_uri() ); ?>"
				class="uo-settings-btn uo-settings-btn--secondary facebook-setting-btn">
				<span class="dashicons dashicons-facebook"></span>
				<?php esc_html_e( 'Connect Facebook Pages' ); ?>
			</a>
		<?php endif; ?>

		<?php
		return ob_get_clean();
	}