Curious if there’s a way to change the default “Show x entries” to be set to something other than 10.
As per inceweb’s post this is not related to the “Limit” functionality, purely about the # of entries displayed by default. I’d like to be able to set it to 25 or 50.
Curious if there’s a way to change the default “Show x entries” to be set to something other than 10.
As per inceweb’s post this is not related to the “Limit” functionality, purely about the # of entries displayed by default. I’d like to be able to set it to 25 or 50.
Hi Dave,
Please add the custom code below. (How do you add a custom code?)
add_filter( 'wpcpt_datatable_params_arr', function ( $params ) { $params['pageLength'] = 25; return $params; }, 99 );Best regards,
Dustin
Thanks Dustin!