Modules How it works Docs FAQ Get the free plugin
Docs Editor Link Suggestions

Editor Link Suggestions

Limit the block editor link picker to the post types you actually link to.

Overview

The block editor's link picker searches every public post type. On a site with products, docs, events, and testimonials, that means the suggestion list fills with things you would never link to. This module limits it to the post types you actually link to.

Settings

SettingDefaultWhat It Does
EnabledOffLike every module, it loads no code until switched on
Limit suggestionsOffTurns the restriction on
Post typesPosts and pagesThe post types the link picker may search

This affects the editor's search results only. Existing links are untouched, and you can still paste any URL by hand.

Developer Filters

Set searchable post types in code
add_filter( 'functionalities_editor_links_post_types', function( $post_types ) { return array( 'post', 'page', 'docs' ); });

Use functionalities_editor_links_enabled to disable the module conditionally.