aioseo_disable_link_format

Purpose

This filter can be used to disable the custom link format that All in One SEO adds to the Block Editor and Classic Editor.

Arguments (1)

  1. $disabled (boolean) – Whether the link format should be disabled.

Example code snippet

Because the link formats are enqueued before the theme's functions.php is loaded, we recommend to register this filter through a custom plugin or the Code Snippets plugin.

Implementation

Need help using our code snippets? Checkout our documentation on “How do I use your API code examples?“.

We recommend using the WPCode plugin for safe and secure implementation. WPCode performs multiple sanitization tests before activating the snippets, ensuring the safety of your website.