Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

WordPress hook directory
admin_init

Description

Runs at the beginning of every admin page before the page is rendered. See wp-admin/admin.php, wp-admin/admin-post.php, and wp-admin/admin-ajax.php.

This description was scraped automatically from the WordPress filter reference or action reference. If it looks like this is the wrong description, please tell me so I can fix my code.

WordPress version history for admin_init

This database has information for all major versions from WP 1.2.1 through 6.2.

Version File Line Type
2.5 wp-admin/admin.php 44 View in context action
2.6 wp-admin/admin-post.php 16 View in context action
2.6 wp-admin/admin.php 44 View in context action
2.7 wp-admin/admin-post.php 24 View in context action
2.7 wp-admin/admin.php 56 View in context action
2.8 wp-admin/admin-ajax.php 21 View in context action
2.8 wp-admin/admin-post.php 21 View in context action
2.8 wp-admin/admin.php 68 View in context action
2.9 wp-admin/admin-ajax.php 21 View in context action
2.9 wp-admin/admin-post.php 21 View in context action
2.9 wp-admin/admin.php 72 View in context action
3.0 wp-admin/admin-ajax.php 26 View in context action
3.0 wp-admin/admin-post.php 21 View in context action
3.0 wp-admin/admin.php 98 View in context action
3.1 wp-admin/admin-ajax.php 26 View in context action
3.1 wp-admin/admin-post.php 21 View in context action
3.1 wp-admin/admin.php 111 View in context action
3.2 wp-admin/admin-ajax.php 26 View in context action
3.2 wp-admin/admin-post.php 21 View in context action
3.2 wp-admin/admin.php 111 View in context action
3.3 wp-admin/admin-ajax.php 26 View in context action
3.3 wp-admin/admin-post.php 21 View in context action
3.3 wp-admin/admin.php 111 View in context action
3.4 wp-admin/admin-ajax.php 37 View in context action
3.4 wp-admin/admin-post.php 21 View in context action
3.4 wp-admin/admin.php 111 View in context action
3.5 wp-admin/admin-ajax.php 41 View in context action
3.5 wp-admin/admin-post.php 21 View in context action
3.5 wp-admin/admin.php 111 View in context action
3.6 wp-admin/admin-ajax.php 41 View in context action
3.6 wp-admin/admin-post.php 21 View in context action
3.6 wp-admin/admin.php 109 View in context action
3.7 wp-admin/admin-ajax.php 42 View in context action
3.7 wp-admin/admin-post.php 27 View in context action
3.7 wp-admin/admin.php 150 View in context action
3.8 wp-admin/admin-ajax.php 42 View in context action
3.8 wp-admin/admin-post.php 27 View in context action
3.8 wp-admin/admin.php 150 View in context action
3.9 wp-admin/admin-ajax.php 42 View in context action
3.9 wp-admin/admin-post.php 27 View in context action
3.9 wp-admin/admin.php 144 View in context action
4.0 wp-admin/admin-ajax.php 44 View in context action
4.0 wp-admin/admin-post.php 29 View in context action
4.0 wp-admin/admin.php 145 View in context action
4.1 wp-admin/admin-ajax.php 44 View in context action
4.1 wp-admin/admin-post.php 29 View in context action
4.1 wp-admin/admin.php 145 View in context action
4.2 wp-admin/admin-ajax.php 44 View in context action
4.2 wp-admin/admin-post.php 29 View in context action
4.2 wp-admin/admin.php 158 View in context action
4.3 wp-admin/admin-ajax.php 44 View in context action
4.3 wp-admin/admin-post.php 29 View in context action
4.3 wp-admin/admin.php 168 View in context action
4.4 wp-admin/admin-ajax.php 44 View in context action
4.4 wp-admin/admin-post.php 29 View in context action
4.4 wp-admin/admin.php 168 View in context action
4.5 wp-admin/admin-ajax.php 44 View in context action
4.5 wp-admin/admin-post.php 29 View in context action
4.5 wp-admin/admin.php 168 View in context action
4.6 wp-admin/admin-ajax.php 44 View in context action
4.6 wp-admin/admin-post.php 29 View in context action
4.6 wp-admin/admin.php 154 View in context action
4.7 wp-admin/admin-ajax.php 44 View in context action
4.7 wp-admin/admin-post.php 29 View in context action
4.7 wp-admin/admin.php 154 View in context action
4.8 wp-admin/admin-ajax.php 44 View in context action
4.8 wp-admin/admin-post.php 29 View in context action
4.8 wp-admin/admin.php 154 View in context action
4.9 wp-admin/admin-ajax.php 44 View in context action
4.9 wp-admin/admin-post.php 29 View in context action
4.9 wp-admin/admin.php 156 View in context action
5.0 wp-admin/admin-ajax.php 44 View in context action
5.0 wp-admin/admin-post.php 29 View in context action
5.0 wp-admin/admin.php 156 View in context action
5.1 wp-admin/admin-ajax.php 45 View in context action
5.1 wp-admin/admin-post.php 30 View in context action
5.1 wp-admin/admin.php 169 View in context action
5.2 wp-admin/admin-ajax.php 45 View in context action
5.2 wp-admin/admin-post.php 30 View in context action
5.2 wp-admin/admin.php 169 View in context action
5.3 wp-admin/admin-ajax.php 45 View in context action
5.3 wp-admin/admin-post.php 30 View in context action
5.3 wp-admin/admin.php 170 View in context action
5.4 wp-admin/admin-ajax.php 45 View in context action
5.4 wp-admin/admin-post.php 30 View in context action
5.4 wp-admin/admin.php 170 View in context action
5.5 wp-admin/admin-ajax.php 45 View in context action
5.5 wp-admin/admin-post.php 30 View in context action
5.5 wp-admin/admin.php 175 View in context action
5.6 wp-admin/admin-ajax.php 45 View in context action
5.6 wp-admin/admin-post.php 30 View in context action
5.6 wp-admin/admin.php 175 View in context action
5.7 wp-admin/admin-ajax.php 45 View in context action
5.7 wp-admin/admin-post.php 30 View in context action
5.7 wp-admin/admin.php 175 View in context action
5.8 wp-admin/admin-ajax.php 45 View in context action
5.8 wp-admin/admin-post.php 30 View in context action
5.8 wp-admin/admin.php 175 View in context action
5.9 wp-admin/admin-ajax.php 45 View in context action
5.9 wp-admin/admin-post.php 30 View in context action
5.9 wp-admin/admin.php 175 View in context action
6.0 wp-admin/admin-ajax.php 45 View in context action
6.0 wp-admin/admin-post.php 30 View in context action
6.0 wp-admin/admin.php 175 View in context action
6.1 wp-admin/admin-ajax.php 45 View in context action
6.1 wp-admin/admin-post.php 30 View in context action
6.1 wp-admin/admin.php 175 View in context action
6.2 wp-admin/admin-ajax.php 45 View in context action
6.2 wp-admin/admin-post.php 30 View in context action
6.2 wp-admin/admin.php 175 View in context action

Related Hooks

We find related hooks using word stems. admin_init has 2 significant word stem(s): admin, init. Note that some of the hooks below may not appear in all versions of WP.