Skip to content

Commit

Permalink
Merge pull request #742 from iliman/patch-1
Browse files Browse the repository at this point in the history
Fix the Yoast SEO plugin name
  • Loading branch information
GaryJones authored May 27, 2018
2 parents 9d492c7 + 96061fb commit 2732e40
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions example.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,13 +98,13 @@ function my_theme_register_required_plugins() {
),

// This is an example of the use of 'is_callable' functionality. A user could - for instance -
// have WPSEO installed *or* WPSEO Premium. The slug would in that last case be different, i.e.
// have Yoast SEO installed *or* Yoast SEO Premium. The slug would in that last case be different, i.e.
// 'wordpress-seo-premium'.
// By setting 'is_callable' to either a function from that plugin or a class method
// `array( 'class', 'method' )` similar to how you hook in to actions and filters, TGMPA can still
// recognize the plugin as being installed.
array(
'name' => 'WordPress SEO by Yoast',
'name' => 'Yoast SEO',
'slug' => 'wordpress-seo',
'is_callable' => 'wpseo_init',
),
Expand Down

0 comments on commit 2732e40

Please sign in to comment.