Yoast\WP\SEO\AI\Consent\User_Interface
Ai_Consent_Integration::render_user_profile
Renders the AI consent button for the user profile.
Метод класса: Ai_Consent_Integration{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$Ai_Consent_Integration = new Ai_Consent_Integration(); $Ai_Consent_Integration->render_user_profile();
Код Ai_Consent_Integration::render_user_profile() Ai Consent Integration::render user profile Yoast 28.3
public function render_user_profile() {
echo '<label for="ai-generator-consent-button">',
\esc_html__( 'AI features', 'wordpress-seo' ),
'</label>',
'<div id="ai-generator-consent" style="display:inline-block; margin-top: 28px; padding-left:5px;"></div>';
}