WordPressinit


Syntax

  1. add_action( 'init', callable $function )

Remarks

init is an action hook that gets fired after WordPress has finished loading but before any HTTP headers are sent.