Completed
Push — master ( e6a05f...cccceb )
by Md. Mozahidur
03:34
created
includes/acf/api/api-field.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -679,6 +679,9 @@
 block discarded – undo
679 679
 *  @return	$fields (array)
680 680
 */
681 681
 
682
+/**
683
+ * @return boolean
684
+ */
682 685
 function acf_get_fields_by_id( $id = 0 ) {
683 686
 	
684 687
 	// vars
Please login to merge, or discard this patch.
includes/acf/api/api-helpers.php 1 patch
Doc Comments   +34 added lines patch added patch discarded remove patch
@@ -13,6 +13,9 @@  discard block
 block discarded – undo
13 13
 *  @return	(mixed)
14 14
 */
15 15
 
16
+/**
17
+ * @param string $name
18
+ */
16 19
 function acf_get_setting( $name, $default = null ) {
17 20
 	
18 21
 	// vars
@@ -46,6 +49,9 @@  discard block
 block discarded – undo
46 49
 *  @return	(boolean)
47 50
 */
48 51
 
52
+/**
53
+ * @param string $name
54
+ */
49 55
 function acf_get_compatibility( $name ) {
50 56
 	
51 57
 	return apply_filters( "acf/compatibility/{$name}", false );
@@ -67,6 +73,9 @@  discard block
 block discarded – undo
67 73
 *  @return	n/a
68 74
 */
69 75
 
76
+/**
77
+ * @param string $name
78
+ */
70 79
 function acf_update_setting( $name, $value ) {
71 80
 	
72 81
 	acf()->settings[ $name ] = $value;
@@ -88,6 +97,10 @@  discard block
 block discarded – undo
88 97
 *  @return	n/a
89 98
 */
90 99
 
100
+/**
101
+ * @param string $name
102
+ * @param string $value
103
+ */
91 104
 function acf_append_setting( $name, $value ) {
92 105
 	
93 106
 	// createa array if needed
@@ -116,6 +129,9 @@  discard block
 block discarded – undo
116 129
 *  @return	(boolean)
117 130
 */
118 131
 
132
+/**
133
+ * @param string $name
134
+ */
119 135
 function acf_has_done( $name ) {
120 136
 	
121 137
 	// vars
@@ -189,6 +205,9 @@  discard block
 block discarded – undo
189 205
 *  @return	$post_id (int)
190 206
 */
191 207
 
208
+/**
209
+ * @param string $file
210
+ */
192 211
 function acf_include( $file ) {
193 212
 	
194 213
 	$path = acf_get_path( $file );
@@ -523,6 +542,9 @@  discard block
 block discarded – undo
523 542
 *  @return	(mixed)
524 543
 */
525 544
 
545
+/**
546
+ * @param string $default
547
+ */
526 548
 function acf_extract_var( &$array, $key, $default = null ) {
527 549
 	
528 550
 	// check if exists
@@ -560,6 +582,9 @@  discard block
 block discarded – undo
560 582
 *  @return	$post_id (int)
561 583
 */
562 584
 
585
+/**
586
+ * @param string[] $keys
587
+ */
563 588
 function acf_extract_vars( &$array, $keys ) {
564 589
 	
565 590
 	$r = array();
@@ -713,6 +738,9 @@  discard block
 block discarded – undo
713 738
 *  @return	(boolean)
714 739
 */
715 740
 
741
+/**
742
+ * @param string $value
743
+ */
716 744
 function acf_verify_nonce( $value, $post_id = 0 ) {
717 745
 	
718 746
 	// vars
@@ -1903,6 +1931,9 @@  discard block
 block discarded – undo
1903 1931
 *  @return	(boolean)
1904 1932
 */
1905 1933
 
1934
+/**
1935
+ * @param string $needle
1936
+ */
1906 1937
 function acf_str_exists( $needle, $haystack ) {
1907 1938
 	
1908 1939
 	// return true if $haystack contains the $needle
@@ -2376,6 +2407,9 @@  discard block
 block discarded – undo
2376 2407
 *  @return	$post_id (int)
2377 2408
 */
2378 2409
 
2410
+/**
2411
+ * @return string
2412
+ */
2379 2413
 function acf_get_user_setting( $name = '', $default = false ) {
2380 2414
 	
2381 2415
 	// get current user id
Please login to merge, or discard this patch.
includes/acf/api/api-template.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -15,6 +15,9 @@  discard block
 block discarded – undo
15 15
 *  @return	$reference (string)	a string containing the field_key
16 16
 */
17 17
 
18
+/**
19
+ * @return string
20
+ */
18 21
 function acf_get_field_reference( $field_name, $post_id ) {
19 22
 	
20 23
 	// try cache
@@ -857,6 +860,9 @@  discard block
 block discarded – undo
857 860
 *  @return	(array)	
858 861
 */
859 862
 
863
+/**
864
+ * @param string $selector
865
+ */
860 866
 function get_sub_field_object( $selector, $format_value = true, $load_value = true ) {
861 867
 	
862 868
 	// vars
Please login to merge, or discard this patch.
includes/acf/forms/user.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -207,6 +207,9 @@
 block discarded – undo
207 207
 	*  @return	n/a
208 208
 	*/
209 209
 	
210
+	/**
211
+	 * @param string $user_form
212
+	 */
210 213
 	function render( $user_id, $user_form, $el = 'tr' ) {
211 214
 		
212 215
 		// vars
Please login to merge, or discard this patch.
includes/acf/pro/api/api-pro.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -72,6 +72,9 @@
 block discarded – undo
72 72
 *  @return	$post_id (int)
73 73
 */
74 74
 
75
+/**
76
+ * @return string
77
+ */
75 78
 function acf_pro_get_remote_response( $action = '', $post = array() ) {
76 79
 	
77 80
 	// vars
Please login to merge, or discard this patch.