Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
17 lines
392 B
PHP
17 lines
392 B
PHP
<?php
|
||
|
||
declare(strict_types=1);
|
||
|
||
namespace LIT\MCP\Integrations\Divi\Compose;
|
||
|
||
defined('ABSPATH') || exit;
|
||
|
||
/**
|
||
* Entries {{link:<ID>}} may point to (E13a). Pure interface – WpLinkTargets asks WordPress.
|
||
*/
|
||
interface LinkTargets
|
||
{
|
||
/** Post type of entry $id when it may be linked (exists, not trashed, readable); null otherwise. */
|
||
public function postTypeOf(int $id): ?string;
|
||
}
|