Thank you for raising this, Hari!
This is the post lock function, right? I’ve corrected this and the fix will be made available in the next version π
Cheers,
Andrew.
Thank you for raising this, Hari!
I’m not Hari, I’m Hadi π
This is the post lock function, right?
Yes, this issue is when I working on the wp_debug mode.
An isset function can helpful, just like :
public function lock_post( $response, $data ) {
if ( isset( $data['tailor_post_id'] ) && $post = get_post( $data['tailor_post_id'] ) ) {
$response['current_lock'] = wp_set_post_lock( $post->ID );
}
return $response;
}
Sorry, Hadi (I’m blaming the keyboard positions of ‘r’ and ‘d’ for that!) π
Thanks for confirming. That’s the solution I’ve put in place, so you can expect to see that in the next version!
Thanks again,
Andrew.
Thanks again,
Your welcome . π
@andrew! How I can to create a plugin for the tailor?! your docs is very limit.
For an example, I’d recommend checking out the Portfolio or WooCommerce extensions. They should give you a good idea of how you can extend Tailor.
I will also be updating the documentation shortly. The next release is a big one with many improvements, which has been taking most of my time.
I will also be updating the documentation shortly. The next release is a big one with many improvements, which has been taking most of my time.
Very very thank’s.
Tailor is my favorite page builder. <3