WordPress.org

Ready to get started?Download WordPress

Codex

Function Reference/ return zero

Contents

Description

Returns 0.

Useful for returning 0 to filters easily.

Usage

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

Return Values

(integer) 
0

Change Log

Since: 3.0

Source File

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

Related