Skip to content
WPCode Library

WPCode Library

Join 2,000,000+ Professionals who use WPCode to Future-Proof Their Websites!

Get WPCode
See all Features

  • Features
    • Code Snippets Library
    • Smart Conditional Logic
    • Advanced Code Revisions
    • Private Cloud Library
    • Marketing Scripts & Conversion Pixels
  • Pricing
  • Snippets Library
  • Help Center
    • Docs
    • Support
  • Blog
  • Login
  • Get WPCode

Snippets library

Browse Snippets
Claim your Free Profile
Add Snippet

Location: admin_only

Disable SEO News Dashboard Widget

add_filter( ‘aioseo_show_seo_news’, ‘aioseo_disable_dashboard_widget’ ); function aioseo_disable_dashboard_widget( $enabled ) { return false; }Continue reading

Disable AIOSEO Admin Menu Bar

add_filter( ‘aioseo_show_in_admin_bar’, ‘aioseo_disable_admin_bar’ ); function aioseo_disable_admin_bar( $enabled ) { return false; }Continue reading

Disable Redirect Logging in AIOSEO Redirects

add_filter( ‘aioseo_redirects_log_skip’, ‘redirects_log_skip’, 10, 2 ); function redirects_log_skip( $skip, $data ) { if ( 404 === $data[‘http_code’] ) { $skip = true; } return $skip; }Continue reading

Disable All Page Builder Integration

add_filter( ‘aioseo_page_builder_integration_disable’, ‘__return_true’ );Continue reading

Change the Default Taxonomy Name “aioseo-location-category”

add_filter( ‘aioseo_local_business_taxonomy_name’, ‘aioseo_change_local_business_taxonomy_name’ ); function aioseo_change_local_business_taxonomy_name( $name ) { $name = ‘franchise-state’; return $name; }Continue reading

Change Default Post Type Singular Label “Location”

add_filter( ‘aioseo_local_business_post_type_single_label’, ‘aioseo_change_local_business_post_type_single_label’ ); function aioseo_change_local_business_post_type_single_label( $label ) { $label = ‘Franchise’; return $label; }Continue reading

Change Default Post Type Plural Label “Locations”

add_filter( ‘aioseo_local_business_post_type_plural_label’, ‘aioseo_change_local_business_post_type_plural_label’ ); function aioseo_change_local_business_post_type_plural_label( $label ) { $label = ‘Franchises’; return $label; }Continue reading

Increase the Number of Posts Imported Per Batch from Yoast SEO Plugin

add_filter( ‘aioseo_import_yoast_seo_posts_per_action’, ‘aioseo_increase_yoast_posts_import’); function aioseo_increase_yoast_posts_import( $number ) { return 250; }Continue reading

Increase the Number of Posts Imported Per Batch from SEOPress Plugin

add_filter( ‘aioseo_import_seopress_posts_per_action’, ‘aioseo_increase_seopress_posts_import’); function aioseo_increase_seopress_posts_import( $number ) { return 250; }Continue reading

Increase the Number of Posts Imported Per Batch from Rank Math Plugin

add_filter( ‘aioseo_import_rank_math_posts_per_action’, ‘aioseo_increase_rank_math_posts_import’); function aioseo_increase_rank_math_posts_import( $number ) { return 250; }Continue reading

Page navigation

Previous 1 … 7 8 9 10 11 … 28 Next

Company

  • About
  • Careers
  • Testimonials
  • Blog
  • Affiliates
  • Contact
  • Twitter
  • Facebook

Powerful Code Features

  • Ready-made Snippets Library
  • Smart Conditional Logic
  • Advanced Auto-insert Locations
  • Global Header & Footer Scripts
  • Safe Error Handling
  • WordPress Code Generators

  • Ecommerce Conversion Pixels
  • Dynamic Content Elements
  • Reduce Number of Plugins
  • Save Snippets in Cloud
  • Easy Code Management
  • Advanced Code Revisions

Helpful Links

  • Support
  • Documentation
  • Plans & Pricing
  • WordPress Hosting
  • Start a Blog
  • Make a Website

Copyright © 2025 WPCode. WPCode® is a registered trademark of WPCode, LLC

Terms of Service
Privacy Policy
FTC Disclosure
Sitemap
WPCode Coupon

The WordPress® trademark is the intellectual property of the WordPress Foundation. Uses of the WordPress®, names in this website are for identification purposes only and do not imply an endorsement by WordPress Foundation. WPCode is not endorsed or owned by, or affiliated with, the WordPress Foundation.

Snippet Preview