Tribe__Meta__Chunker::get_max_chunk_size()
Returns the max chunk size in bytes.
Return
(array|int|null|object)
Source
File: src/Tribe/Meta/Chunker.php
public function get_max_chunk_size() { if ( ! empty( $this->max_chunk_size ) ) { return $this->max_chunk_size; } $max_size = tribe( 'db' )->get_max_allowed_packet_size(); /** * Filters the max size of the of the chunks in bytes. * * @param int $max_size By default the `max_allowed_packet` from the database. */ $this->max_chunk_size = apply_filters( 'tribe_meta_chunker_max_size', $max_size ); return $max_size; }