statamic / ideas

💡Discussions on ideas and feature requests for Statamic
https://statamic.dev
32 stars 1 forks source link

created_by varaible? #1230

Open stephenmeehanuk opened 1 month ago

stephenmeehanuk commented 1 month ago

I can see there's an {{updated_by}} variable, which I can use to show what user last updated an entry.

Can a created_by variable be added too?

Statamic knows the name of the logged in user and can output that using {{updated_by}}, it'd be handy to log what user created an entry too (without needing to use the users_field).