post_type, 'revisions' ) ) { return $num; } $limits = Settings::get_limits(); return isset( $limits[ $post->post_type ] ) ? $limits[ $post->post_type ] : $num; } }