fg_fillablepdfs_access_denied_message

Description

This filter allows you to modify the access denied message used when a user cannot access a requested PDF.

Usage

PHP
add_filter( 'fg_fillablepdfs_access_denied_message', 'your_function_name', 10, 1 );

Parameters

  • $access_denied_message string
    The access denied message.

Examples

This example will change the default access denied message

PHP
add_filter( 'fg_fillablepdfs_access_denied_message', function( $access_denied_message ) {
	return 'This is my custom access denied message!';
}, 10, 1 );

Since

This filter was added in Fillable PDFs 3.1.3