Debug error using example upgrade link code

[RESOLVED - NOT ACTUALLY AN ISSUE]

Your article at http://forum.wpbeaverbuilder.com/integrating-a-page-builder-with-your-wordpress-themes/ says to use the following code in functions.php file of a theme, however, that code (if debug is turned on), returns an error.

function my_bb_upgrade_link() { 
    return 'YOUR_LINK_HERE'; 
}

add_filter( ‘fl_builder_upgrade_url’, 'my_bb_upgrade_link' );

The error is:

Notice: Use of undefined constant ‘fl_builder_upgrade_url’ - assumed ‘‘fl_builder_upgrade_url’’ in …/functions.php on line …

Doh! Never mind. Still had the curly quotes from copy/pasting.

Hey Donna,

It looks like the quotes in the post are being encoded. I’ve fixed that. Can you give it a shot again?

Thanks,
Justin

Looks like we were posting at the same time :slight_smile: