-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: user settings for expiration times #82
Comments
I created three filters: https://github.com/mashshare/MashShare/blob/3.3.9/includes/sharecount-functions.php#L158 Does this work for you? |
Thanks! It would be better if the cutoff dates were configurable as well.
For me, I really don’t need much processing on anything older than 3 days,
for example.
…--
Bart Veldhuizen
On 23 February 2017 at 09:23:02, René Hermenau ([email protected]) wrote:
I created three filters:
https://github.com/mashshare/MashShare/blob/3.3.9/includes/sharecount-functions.php#L158
Does this work for you?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#82 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGgC1dWPKugeazfoPiYEA5fdmgNwRHn3ks5rfUHmgaJpZM4MJlCC>
.
|
Ok, check again latest git. Created two more filters for you |
Please do me a favour and test it for me:) |
Sure thing. It will have to wait until tonight though, is that ok?
…--
Bart Veldhuizen
On 23 February 2017 at 09:32:22, René Hermenau ([email protected]) wrote:
Please do me a favour and test it for me:)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#82 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGgC1Ypt6Xjw_oT0MJtzFFdj3mtq3M-Gks5rfUQVgaJpZM4MJlCC>
.
|
👍 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I've manually updated the mashsb_get_expiration_method_async function to add another expiration tier and to increase the expiration times. On a high-traffic site, this helps me update only the posts that are relevant to my readers. It would be great if we could set both the thresholds and expiration times from within the plugin settings screen!
function mashsb_get_expiration_method_async() {
// post age in seconds
$post_age = floor( date( 'U' ) - get_post_time( 'U', true ) );
}
The text was updated successfully, but these errors were encountered: