• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
WordPress develop tests

WordPress develop tests

WordPress develop tests a2z

  • Home
  • Plugins
  • Shortcodes
  • APIs
  • Classes
  • Files
  • Hooks
  • Sitemap
  • Blog
Home / APIs / _unregister_post_status() – Unregister a post status.

You appear to be a bot. Output may be restricted

Description

Unregister a post status.

Usage

_unregister_post_status( $status );

Parameters

$status
( string ) required –

Returns

void

Source

File name: wordpress-develop-tests/phpunit/includes/utils.php
Lines:

1 to 3 of 3
function _unregister_post_status( $status ) {
  unset( $GLOBALS['wp_post_statuses'][ $status ] );
}
 

 View on GitHub

Published: 26th November 2019 | Last updated: 27th November 2019

Primary Sidebar

Information

Function name: _unregister_post_status
Plugin ref: WordPress develop tests
Version: 5.9.3
Sourcefile: phpunit/includes/utils.php
File ref: phpunit/includes/utils.php
API type: private
Deprecated?: No
API Letters: _,P,S,U

Footer

WordPress develop tests
WordPress develop tests
WordPress develop tests a2z
WordPress 6.3.1
WordPress a2z
WordPress core a2z
Genesis Theme Framework a2z
Jetpack a2z
WordPress develop tests
Easy Digital Downloads a2z
WooCommerce a2z
Yoast SEO a2z
WordPress Blocks

Site:  develop.wp-a2z.org
© Copyright WordPress develop tests 2014-2023. All rights reserved.


Website designed and developed by Herb Miller
Proudly powered by WordPress and oik plugins

  • Home
  • Blog
  • Sitemap
  • Sites