| Server IP : 45.77.68.45 / Your IP : 127.0.0.100 Web Server : PHPix/0.2.2 (Caddy compatible) System : wasi wasmer.sh 0.0.0 0.0.0 wasm32 User : ( 1) PHP Version : 8.3.21 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /app/wp-content/plugins/wordpress-seo/src/exceptions/indexable/ |
Upload File : |
<?php
namespace Yoast\WP\SEO\Exceptions\Indexable;
/**
* Exception that is thrown whenever a term could not be built
* in the context of the indexables.
*/
class Term_Not_Built_Exception extends Not_Built_Exception {
/**
* Throws an exception if the term is not indexable.
*
* @param int $term_id ID of the term.
*
* @return Term_Not_Built_Exception
*/
public static function because_not_indexable( $term_id ) {
/* translators: %s: expands to the term id */
return new self( \sprintf( \__( 'The term %s could not be built because it\'s not indexable.', 'wordpress-seo' ), $term_id ) );
}
}