# metasync/2.6.25/phpstan-stubs/amp-functions.php

Search Atlas SEO – OTTO AI SEO Automation for WordPress, version 2.6.25. 22 lines.

- Page: https://pluginprobe.com/plugins/metasync/2.6.25/code/phpstan-stubs/amp-functions.php
- Raw: https://pluginprobe.com/plugins/metasync/2.6.25/raw/phpstan-stubs/amp-functions.php
- Modified: 2026-09-01T23:08:20+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/metasync/2.6.25/code/phpstan-stubs/amp-functions.php#L10-L20`.

```php
<?php
/**
 * PHPStan stubs for optional AMP-plugin functions.
 *
 * These functions ship with the AMP plugin and are guarded at runtime via
 * func_is_available(); PHPStan has no symbol source for them in this repo,
 * so their declarations are provided here for static analysis only. This
 * file is never loaded at runtime — phpstan.neon references it via scanFiles.
 */

namespace {
    function amp_is_request(): bool
    {
        return false;
    }

    function is_amp_endpoint(): bool
    {
        return false;
    }
}

```
