WordPress.org

Codex

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

Function Reference/ return empty string

Description

Returns an empty string.

Useful for returning an empty string to filters easily.

Usage

<?php 
// This will add a filter on `example_filter` that returns an empty string
add_filter'example_filter''__return_empty_string' ); 
?>

Return Values

(string) 

Change Log

Since: 3.7

Source File

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

Related