• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
Yoast SEO a2z

Yoast SEO a2z

WordPress SEO a2z

  • Home
  • Plugins
  • Blocks
  • Shortcodes
  • APIs
  • Classes
  • Files
  • Hooks
  • Sitemap
  • Blog
Home / APIs / yoast_wpseo_activation_failed_notice() – Echo’s the Activation failed notice with any given message.

You appear to be a bot. Output may be restricted

Description

Echo's the Activation failed notice with any given message.

Usage

yoast_wpseo_activation_failed_notice( $message );

Parameters

$message
( string ) required – Message string.

Returns

void

Source

File name: wordpress-seo/wp-seo-main.php


Lines:

1 to 5 of 5
function yoast_wpseo_activation_failed_notice( $message ) {
  // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- This function is only called in 3 places that are safe.
  echo '<div class="error"><p>' . esc_html__( 'Activation failed:', 'wordpress-seo' ) . ' ' . strip_tags( $message, '<a>' ) . '</p></div>';
}
 

 View on GitHub View on Trac

Published: 27th November 2019 | Last updated: 10th December 2020

Primary Sidebar

Information

Function name: yoast_wpseo_activation_failed_notice
Plugin ref: Yoast SEO
Version: 15.4
Sourcefile: wp-seo-main.php
File ref: wp-seo-main.php
Deprecated?: No
API Letters: A,F,N,W,Y

Footer

Yoast SEO a2z
Yoast SEO a2z
WordPress SEO a2z
WordPress 5.6
WordPress a2z
WordPress core a2z
Genesis Theme Framework a2z
Jetpack a2z
WordPress develop tests
Easy Digital Downloads a2z
WooCommerce a2z
Yoast SEO a2z
WordPress Blocks

Site:  wordpress-seo.wp-a2z.org
© Copyright Yoast SEO a2z 2017-2021. All rights reserved.


Website designed and developed by Herb Miller
Proudly powered by WordPress and oik plugins

  • Home
  • Blog
  • Sitemap
  • Sites