Technical Docs

Search Documentation

Function: tribe_callback_return

Returns a tribe_callback for a very simple Return value method

Located at src/Tribe/Container.php (Line: 290)

Description

Example of Usage:

 add_filter( 'admin_title', tribe_callback_return( __( 'Ready to work.' ) ) );

Parameters summary

(mixed) $value The value to be returned

Return value summary

(callable) A PHP Callable based on the Slug and Methods passed

Examples

callable tribe_callback_return ( mixed $value )