我想使用apache调用短代码来显示Elementor模板。模板短代码为:[elementor-template id=“1008”]
这是我正在尝试使用的Ajax:用途:
jQuery.ajax({
type: 'POST',
url : 'https://somedomain.com.au/wp-admin/admin-ajax.php',
cache: false,
data : { 'action': 'elementor-template', 'id': '1008' },
complete : function() { },
success: console.log(data),
error: console.log(error)
});
字符串
1条答案
按热度按时间mbjcgjjk1#
字符串