With ES6 you can use this code :
removeDocument(doc){
this.documents.forEach( (item, index) => {
if(item === doc) this.documents.splice(index,1);
});
}
removeDocument(doc){
this.documents.forEach( (item, index) => {
if(item === doc) this.documents.splice(index,1);
});
}
trong file /opt/bitnami/wordpress/wp-content/themes/astra-child/functions.php
Không có nhận xét nào:
Đăng nhận xét