• It is recommended to change the function shortcode_markup() in class-copy-the-code-shortcode.php

    text & copied-text becomes a localized string to allow users to customize the default translation in the [copy] shortcode

    ‘text’ => __(‘Copy’,’copy-the-code’),
    ‘copied-text’ => __(‘Copied!’,’copy-the-code’),

    In addition, it is also recommended to provide an interface for users to customize the style of [copy] (do not let for users to CSS to process)

  • The topic ‘My advice’ is closed to new replies.