wp_atom_server{}WP 2.2.0

Устарела с версии 3.5.0. Больше не поддерживается и может быть удалена. Рекомендуется заменить эту функцию на аналог.

WordPress AtomPub API implementation.

Originally stored in wp-app.php, and later wp-includes/class-wp-atom-server.php. It is kept here in case a plugin directly referred to the class.

Хуков нет.

Использование

$wp_atom_server = new wp_atom_server();
// use class methods

Методы

  1. public __call( $name, $arguments )
  2. public static __callStatic( $name, $arguments )

Список изменений

С версии 2.2.0 Введена.
Устарела с 3.5.0

Код wp_atom_server{} WP 6.5.2

class wp_atom_server {
	public function __call( $name, $arguments ) {
		_deprecated_function( __CLASS__ . '::' . $name, '3.5.0', 'the Atom Publishing Protocol plugin' );
	}

	public static function __callStatic( $name, $arguments ) {
		_deprecated_function( __CLASS__ . '::' . $name, '3.5.0', 'the Atom Publishing Protocol plugin' );
	}
}