WordPress.org

Ready to get started?Download WordPress

Codex

Function Reference/ return null

Contents

Description

Returns null.

Useful for returning null to filters easily.

Usage

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

Return Values

(null) 
null

Change Log

Since: 3.4

Source File

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

Related