Source View: signup_create_blog_meta

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

  • Action hooks look like this: do_action( "hook_name" )
  • Filter hooks look like this: apply_filters( "hook_name", "what_to_filter" ).

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
332
333      /**
334       * Filter the new site meta variables.
335       *
336       * @since MU
337       * @deprecated 3.0.0 Use the 'add_signup_meta' filter instead.
338       *
339       * @param array $blog_meta_defaults An array of default blog meta variables.
340       */
341      $meta_defaults = apply_filters( 'signup_create_blog_meta', $blog_meta_defaults );
342      /**
343       * Filter the new default site meta variables.
344       *
345       * @since 3.0.0
346       *
347       * @param array $meta {
348       *     An array of default site meta variables.
349       *
350       *     @type int $lang_id     The language ID.