WP Tavern › Forums › Create Topic
Stefan Nice piece of code ! Its working very fine BUT I´m missing a call to load_plugin_textdomain(…) for translation issues of all the __(..) stuff. Is it a good idea to place it directly in the __constructor before the add_action(..) or is a add_filter( ‘init’, loaderFunction, 1 ) more applicable ? Can you give an advice or modify you sample ?
Stefan
Nice piece of code ! Its working very fine BUT I´m missing a call to load_plugin_textdomain(…) for translation issues of all the __(..) stuff. Is it a good idea to place it directly in the __constructor before the add_action(..) or is a add_filter( ‘init’, loaderFunction, 1 ) more applicable ? Can you give an advice or modify you sample ?
Name *
Email *
Website:
Topic Title (Maximum Length: 80):
Forum: — No forum —AI and WordPress Articles Blocks Showcase Discussions Events Introductions Jobs and Working in WordPress Podcast Episodes Site and Block Editor
Enter your email address to subscribe to this blog and receive notifications of new posts by email.
Email Address
Submit
Enter the destination URL
Or link to existing content