Tim Robertson
Tim Robertson
Part of the problem it appears is that qTranslate-X starting in 3.2.3 is now translating `get_post_metadata` directly. So you'll need to remove that filter as well. And also update the...
This `remove_all_filters('acf/format_value_for_api');` removes all the formatting filters including the ones added by ACF. Which means you're ACF isn't formatting the field values for you anymore. Those numbers you're seeing are...
ACF Better Search doesn't support selecting custom field types from its settings page. However you should be able to manually update the setting to include the custom fields types. ```php...
I pieced this PR together from a version of php-activerecord I'd modified a couple years ago and I guess I missed the config.
``` Notice: Undefined offset: 0 in\php-activerecord\lib\Model.php on line 1671 ``` This would seem to indicator an issue with your primary key. Do you have primary keys defined for your table?
The adapter attempts to identify the column used for the primary key by looking up the primary key constraint using ``` php $sql = "SELECT c.COLUMN_NAME as field, c.DATA_TYPE as...
Generally speaking I'd agree. That said there are situations, uncommon or sub-optimal as they maybe, where it would be helpful (i.e. loading from a CDN like unpkg or jsdelivr). I've...
You can do this fairly easily using a Drop instead of an array. Here's quick example of what that might look like. ```php $assigns = [ 'template' => new TemplateDrop('templates/product.alternate.liquid')...
> I didn’t see the Drop class. Can that also be used to lazy load database queries for things like blog posts? So the SQL queries don’t execute unless the...
Ya sorry left this out. You'll need to overwrite the beforeMethod method like so. ```php class TemplateDrop extends \Liquid\Drop { protected function beforeMethod($method) { return $this->liquid[$method] ?? null; } }...