• I just installed and tested the plugin, but it doesn’t show errors (images)

    Error when calling $this->options[‘message’] but it was declared in __construct():

    // Setting plugin defaults here:
     $this->option_defaults = array(
        'redirect'     => 'no',
        'redirect_url' => 'https://example.com',
        'message'      => __( '<strong>ERROR</strong>: Your email has been banned from registration.', 'ban-hammer' ),
    		);

    Is this wrong?

    • This topic was modified 1 year, 5 months ago by itsmeit.
    • This topic was modified 1 year, 5 months ago by itsmeit.
    • This topic was modified 1 year, 5 months ago by itsmeit.
    • This topic was modified 1 year, 5 months ago by itsmeit.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Calling variable is incorrect?’ is closed to new replies.