Support

Account

Home Forums General Issues Generate sub field from php – check if content already exists Reply To: Generate sub field from php – check if content already exists

  • If this is something you only want to do once when the theme is activated maybe you should be using after_switch_theme instead of after_theme_setup

    https://codex.wordpress.org/Plugin_API/Action_Reference/after_switch_theme