• code need a total rewrite.

    function yydev_comments_subscribe_languages() {
      load_plugin_textdomain( 'comments-subscribe-checkbox', false, basename( dirname( __FILE__ ) ) . '/languages' ); 
    } // function yydev_comments_subscribe_languages() {
    	
    add_action( 'plugins_loaded', 'yydev_comments_subscribe_languages' );
    
    // loading the languages for the admin back end as well and mainly for the unsubscribe page
    load_plugin_textdomain( 'comments-subscribe-checkbox', false, basename( dirname( __FILE__ ) ) . '/languages' ); 
    

    this is just a small example. 🫣😅

The topic ‘looks valid but…’ is closed to new replies.