Last active
May 15, 2025 15:27
-
-
Save plugin-republic/a2c0fb5fa44d1af830a20185e7674c14 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function test_page_count_method( $method ) { | |
// return 'imagick'; // Use this if you have the Imagick PHP extension installed | |
return 'preg_match_all'; | |
} | |
add_filter( 'wcpauau_page_count_method', 'test_page_count_method' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment