We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

getting field_id when creating new field

Development and Programming

kundi's avatar
kundi
23 posts
16 years ago
kundi's avatar kundi

Hello.

Which hook should I use so that after I create new custom field I can call a function inside my extension which will be able to access/get ‘field_id’ of the created custom field?

At the moment I do it with ‘sessions_start’ which calls specific functions that preforms check if the custom field was created, but I wont be able to access “field_id” data with that approach since EE inserts sql data to EE_weblog_fields after that (which assigns an id to it).

Many thanks in advance!

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.