Support » Plugin: Copy Anything to Clipboard » Does your plugin support Backend?

  • Resolved ghj1

    (@ghj1)


    I tried adding code to the function :
    add_filter( ‘copy_the_code_localize_vars’, ‘my_slug_copy_the_code_localize_vars’ );
    function my_slug_copy_the_code_localize_vars( $defaults )
    {
    // single class is added to the ` tag for the single page, post etc.
    $defaults[‘selector’] = ‘body .column-devvn_order_title’;

    return $defaults;
    }

    I want it to work in admin, how do I do it?

    • This topic was modified 1 year, 1 month ago by ghj1.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.