|

srfm_entry_custom_value

Description

This filter allows you to enable rendering a custom HTML when you enable srfm_entry_render_field_custom_value

Parameters

$string (bool) – * Custom HTML
$value (mixed) – * Field Value

Hook Source

PHP
/**
* hook source
 */
apply_filters( 'srfm_entry_custom_value', '', $value );

Hook Usage

PHP
add_filter( 'srfm_entry_custom_value', 'your_custom_function' )

function your_custom_function( $string, $value ) {
  //Add code here
    return $string;
}

Hook Example

PHP
add_filter( 'srfm_entry_custom_value', 'your_custom_function' )

function your_custom_function( $string, $value ) {
  //Add code here
    return <p>$value</p>;
}
Was this doc helpful?
What went wrong?

We don't respond to the article feedback, we use it to improve our support content.

Need help? Contact Support
On this page
Scroll to Top