WordPress.org

Ready to get started?Download WordPress

Codex

Attention Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Difference between revisions of "Function Reference/wp heartbeat settings"

m (Return)
(Added basic info about this function)
Line 1: Line 1:
 
==Description==
 
==Description==
  +
Default settings for heartbeat. Outputs the nonce used in the heartbeat XHR.
   
 
==Parameters==
 
==Parameters==
{{Parameter|$var|TYPE|Description.}}
+
{{Parameter|$settings|array|}}
{{Parameter|$var|TYPE|Description.|optional|DEFAULT}}
 
   
 
== Return ==
 
== Return ==
{{Return||TYPE|Description.}}
+
{{Return||array|Settings.}}
   
 
== Usage ==
 
== Usage ==
Line 21: Line 22:
 
== Source File ==
 
== Source File ==
 
<!-- Need links to current source code files -->
 
<!-- Need links to current source code files -->
<tt>wp_heartbeat_settings()</tt> is located in {{Trac|wp-whatever/file.php}}.
+
<tt>wp_heartbeat_settings()</tt> is located in {{Trac|wp-includes/general-template.php}}.
   
 
==Related==
 
==Related==
Line 29: Line 30:
   
 
{{Copyedit}}
 
{{Copyedit}}
  +
{{Stub}}

Revision as of 16:32, 2 August 2013

Description

Default settings for heartbeat. Outputs the nonce used in the heartbeat XHR.

Parameters

$settings
(array) (required)
Default: None

Return

(array) 
Settings.

Usage

 <?php  ?> 

Example

Description text

Example code

Change Log

Source File

wp_heartbeat_settings() is located in wp-includes/general-template.php.

Related

Function ref links

This article is marked as in need of editing. You can help Codex by editing it.
This page is marked as incomplete. You can help Codex by expanding it.