@@ -395,7 +395,7 @@ acf_get_posts
395395_ acf_query_remove_post_type
396396
397397* This function will remove the 'wp_posts.post_type' WHERE clause completely
398- When using 'post__ in', this clause is unneccessary and slow.
398+ When using 'post__ in', this clause is unnecessary and slow.
399399* @since ACF 5.1.5
400400* @param $sql (string)
401401* @return $sql
@@ -494,8 +494,8 @@ acf_encode_choices
494494acf_str_replace
495495
496496* This function will replace an array of strings much like str_replace
497- The difference is the extra logic to avoid replacing a string that has alread been replaced
498- This is very useful for replacing date characters as they overlap with eachother
497+ The difference is the extra logic to avoid replacing a string that has already been replaced
498+ This is very useful for replacing date characters as they overlap with each other
499499* @since ACF 5.3.8
500500* @param $post_id (int)
501501* @return $post_id (int)
@@ -504,7 +504,7 @@ This is very useful for replacing date characters as they overlap with eachother
504504
505505acf_split_date_time
506506
507- * This function will split a format string into seperate date and time
507+ * This function will split a format string into separate date and time
508508* @since ACF 5.3.8
509509* @param $date_time (string)
510510* @return $formats (array)
@@ -513,7 +513,7 @@ acf_split_date_time
513513
514514acf_convert_date_to_php
515515
516- * This fucntion converts a date format string from JS to PHP
516+ * This function converts a date format string from JS to PHP
517517* @since ACF 5.0.0
518518* @param $date (string)
519519* @return (string)
@@ -522,7 +522,7 @@ acf_convert_date_to_php
522522
523523acf_convert_date_to_js
524524
525- * This fucntion converts a date format string from PHP to JS
525+ * This function converts a date format string from PHP to JS
526526* @since ACF 5.0.0
527527* @param $date (string)
528528* @return (string)
@@ -531,7 +531,7 @@ acf_convert_date_to_js
531531
532532acf_convert_time_to_php
533533
534- * This fucntion converts a time format string from JS to PHP
534+ * This function converts a time format string from JS to PHP
535535* @since ACF 5.0.0
536536* @param $time (string)
537537* @return (string)
@@ -540,7 +540,7 @@ acf_convert_time_to_php
540540
541541acf_convert_time_to_js
542542
543- * This fucntion converts a date format string from PHP to JS
543+ * This function converts a date format string from PHP to JS
544544* @since ACF 5.0.0
545545* @param $time (string)
546546* @return (string)
@@ -611,7 +611,7 @@ This function will walk through the $_FILES data and upload each found.
611611
612612acf_upload_file
613613
614- * This function will uploade a $_ FILE
614+ * This function will upload a $_ FILE
615615* @since ACF 5.0.9
616616* @param $uploaded_file (array) array found from $_ FILE data
617617* @return $id (int) new attachment ID
@@ -734,8 +734,8 @@ acf_translate
734734* This function will translate a string using the new 'l10n_textdomain' setting
735735Also works for arrays which is great for fields - select -> choices
736736* @since ACF 5.3.2
737- * @param $string ( mixed) string or array containins strings to be translated
738- * @return $string
737+ * @param mixed $ string String or array containing strings to be translated.
738+ * @return mixed
739739
740740## ` acf_maybe_add_action() `
741741
@@ -769,7 +769,7 @@ Return an image tag for the provided attachment ID
769769
770770acf_get_post_thumbnail
771771
772- * This function will return a thumbail image url for a given post
772+ * This function will return a thumbnail image url for a given post
773773* @since ACF 5.3.8
774774* @param $post (obj)
775775* @param $size (mixed)
@@ -787,7 +787,7 @@ acf_get_browser
787787
788788acf_is_ajax
789789
790- * This function will reutrn true if performing a wp ajax call
790+ * This function will return true if performing a wp ajax call
791791* @since ACF 5.3.8
792792* @param n/a
793793* @return (boolean)
@@ -910,8 +910,8 @@ Useful to preserve numeric keys when performing array_multisort
910910
911911## ` acf_connect_attachment_to_post() `
912912
913- This function will connect an attacment (image etc) to the post
914- Used to connect attachements uploaded directly to media that have not been attaced to a post
913+ This function will connect an attachment (image etc) to the post
914+ Used to connect attachments uploaded directly to media that have not been attached to a post
915915
916916* @since ACF 5.8.0 Added filter to prevent connection.
917917* @since ACF 5.5.4
@@ -970,7 +970,7 @@ acf_convert_rules_to_groups
970970
971971acf_register_ajax
972972
973- * Regsiters an ajax callback.
973+ * Registers an ajax callback.
974974* @since ACF 5.7.7
975975* @param string $name The ajax action name.
976976* @param array $callback The callback function or array.
@@ -991,7 +991,7 @@ Thanks to <https://stackoverflow.com/questions/31274782/convert-array-keys-from-
991991
992992acf_array_camel_case
993993
994- * Converts all aray keys to camelCase.
994+ * Converts all array keys to camelCase.
995995* @since ACF 5.8.0
996996* @param array $array The array to convert.
997997* @return array
0 commit comments