File Editor
Directories:
.. (Back)
Files:
author-not-built-exception.php
indexable-exception.php
invalid-term-exception.php
not-built-exception.php
post-not-built-exception.php
post-not-found-exception.php
post-type-not-built-exception.php
source-exception.php
term-not-built-exception.php
term-not-found-exception.php
Create New File
Create
Edit File: not-built-exception.php
<?php namespace Yoast\WP\SEO\Exceptions\Indexable; /** * Class Not_Built_Exception */ class Not_Built_Exception extends Indexable_Exception { /** * Creates an exception that should be thrown when an indexable * was not built because of an invalid object id. * * @param int $object_id The invalid object id. * * @return Not_Built_Exception The exception. */ public static function invalid_object_id( $object_id ) { return new self( "Indexable was not built because it had an invalid object id of $object_id." ); } }
Save Changes
Rename File
Rename