Tag Info

New answers tagged


Yes and No. Within a blog/site id's are unique. Unless they've been tampered with (by modifying the database's AUTO_INCREMENT, or reusing old id's, which would be a bad move). Within a Wordpress Multisite Network, id's are not unique. A blog post on one site can have the same id as a blog post on another site. Probably since each site has a separate ...


You can merge this two json objects via array_merge. But you must decode before to a array. You have this inside your example, below as single source function. This should get the merged json object. A example function, usable for your mix_cat()method. function mergeToJSON( $obj1, $obj2 ) { $json1 = $this->test_cat(); $json2 = ...

Top 50 recent answers are included