• 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 / _wp_die_handler_exit() – Dies with an exit.

You appear to be a bot. Output may be restricted

Description

Dies with an exit.

Usage

_wp_die_handler_exit( $message, $title, $args );

Parameters

$message
( string ) required – The message.
$title
( string ) required – The title.
$args
( array ) required – Array with arguments.

Returns

void

Source

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


Lines:

1 to 13 of 13
function _wp_die_handler_exit( $message, $title, $args ) {
  echo "\nwp_die called\n";
  echo "Message : $message\n";
  echo "Title : $title\n";
  if ( ! empty( $args ) ) {
    echo "Args: \n";
    foreach ( $args as $k => $v ) {
      echo "\t $k : $v\n";
    }
  }
  exit( 1 );
}
 

 View on GitHub

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

Primary Sidebar

Information

Function name: _wp_die_handler_exit
Plugin ref: WordPress develop tests
Version: 5.3
Sourcefile: phpunit/includes/functions.php
File ref: phpunit/includes/functions.php
API type: private
Deprecated?: No
API Letters: _,D,E,H,W

Footer

WordPress develop tests WordPress develop tests
WordPress develop tests a2z
WordPress 5.3
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-2019. All rights reserved.


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

  • Home
  • Blog
  • Sitemap
  • Sites