parse_new_sections( $new_sections_array )


Description Description


Source Source

File: includes/class.llms.ajax.php

		function parse_new_sections( $new_sections_array ) {
			$array = array();

		    foreach ( $new_sections_array as $key => $value ) {
				if ( is_array( $value ) ) {
					foreach ( $value as $keys => $values ) {
						if ( 'section_id' === $keys ) {
							array_push( $array, $values );
						}
					}
					parse_new_sections( $value );
				}
			}
			return $array;
		}


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.





Permalink: