ok,is this any way to call saving method at second step?or at first step make a send mail notification about new ads and make it not temporary type,but complete?this two steps sending are too long,most peoples didn’t do the second step.
i’m sorry,the problem was not in wpadverts.thats happend because of WPML plugin make duplicate media for each lang.
omg,i saw what i doing wrong:the problem was just in declaration out of the function.when i took it inside-it’s works fine.i just lost focus about scope of variables.thanks,now it’s all fine.