Use core/pluggables functions on plugins
-
I need to use functions such as
wp_insert_user
andwp_update_user
in a plugin, but theses functions call not yet loaded functions (such asget_user_by
orget_userdata
).I don’t have any problems if I require
pluggable.php
where I use theses functions, but messing with WordPress load orders seems a pretty bad idea to me.How would you use theses functions in a plugin ?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Use core/pluggables functions on plugins’ is closed to new replies.