WordPress.org

Codex

Attention Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Function Reference/ return false

Description

Returns false.

Useful for returning false to filters easily.

Usage

<?php 
// This will add a filter on `example_filter` that returns false 
add_filter('example_filter''__return_false'); 
?>

Return Values

(boolean) 
false

Change Log

Since: 3.0

Source File

__return_false() is located in wp-includes/functions.php

Related