Custom Field PHP Code: Text Domain and Function Name

Support Meta Box AIO Custom Field PHP Code: Text Domain and Function NameResolved

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #38444
    FergalFergal
    Participant

    Hey there,

    When grabbing the php code for custom fields, can you please tell me what am I supposed to enter in the Text Domain and Function Name boxes?

    https://imgur.com/a/1D1rd0m

    Thanks

    #38448
    Long NguyenLong Nguyen
    Moderator

    Hi Fergal,

    - Each function must have a unique name, you can type any name as you want. It should be related to the CPT or your purpose ...
    - The text domain should be the theme or plugin text domain. Some strings like field names can be translated to other languages. Please read more on the WordPress documentation https://developer.wordpress.org/themes/functionality/internationalization/#text-domain

    #38467
    FergalFergal
    Participant

    Very helpful Long, thank you for that information.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.