Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Bru

    (@brunobrbr)

    **

    Okay, if I change here to the role I want you to have access to, is that okay?
    I put it here and it worked, will I have any security issues?
    Because the idea is that everyone in the defined function has access to the plugin, the site here is unique

    <?php
    /*
    Plugin Name: Plugin Email
    Plugin URI:
    Description:
    Version:
    Author:
    Author URI:
    */
    add_filter( 'wf_cpanel_email_capability', static fn( string $cap ) => 'Role here' );
    
    Thread Starter Bru

    (@brunobrbr)

    Ok, se eu mudar aqui para o papel que eu quero que você tenha acesso, tudo bem?
    Coloquei aqui e funcionou, terei algum problema de seguran?a?
    Como a ideia é que todos na fun??o definida tenham acesso ao plugin, o site aqui é único

    <?php
    /*
    Plugin Name: Plugin Email
    Plugin URI:
    Description:
    Version:
    Author:
    Author URI:
    */
    add_filter( 'wf_cpanel_email_capability', static fn( string $cap ) => 'Role here' );
    
    
    Thread Starter Bru

    (@brunobrbr)

    Okay, if I change here to the role I want you to have access to, is that okay?
    I put it here and it worked, will I have any security issues?
    Because the idea is that everyone in the defined function has access to the plugin, the site here is unique

    <?php
    /*
    Plugin Name: Plugin Email
    Plugin URI:
    Description:
    Version:
    Author:
    Author URI:
    */
    
    add_filter( 'wf_cpanel_email_capability', static fn( string $cap ) => 'Role here

    ‘ );

Viewing 3 replies - 1 through 3 (of 3 total)