<div dir="ltr">fallback_cb defines a callback function used to create output if no menu is assigned to the theme_location. So, 'cyberchimps_fallback_menu' refers to a defined function, cyberchimps_fallback_menu(). Look for that function to see what it does. I assume it's outputting wp_page_menu() or wp_list_pages() or something similar.</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Nov 5, 2013 at 1:16 PM, Rohit Tripathi <span dir="ltr"><<a href="mailto:rohitink@live.com" target="_blank">rohitink@live.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div dir="ltr">I am reviewing a theme, they are using the following :<b> 'fallback_cb' => 'cyberchimps_fallback_menu' )</b><br><br>Is this acceptable?<div><br><div><hr>Date: Tue, 5 Nov 2013 13:12:25 -0500<br>
From: <a href="mailto:chip@chipbennett.net" target="_blank">chip@chipbennett.net</a><br>To: <a href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">theme-reviewers@lists.wordpress.org</a><br>Subject: Re: [theme-reviewers] Can themes use their own fallback menus?<div>
<div class="h5"><br><br><div dir="ltr">Menus, or menu *functions*?<div><br></div><div>It is fine to fallback to wp_page_menu(), or wp_list_pages() via fallback_cb, but it is not okay to generate custom nav menus.</div></div>
<div>
<br><br><div>On Tue, Nov 5, 2013 at 1:05 PM, Rohit Tripathi <span dir="ltr"><<a href="mailto:rohitink@live.com" target="_blank">rohitink@live.com</a>></span> wrote:<br><blockquote style="border-left:1px #ccc solid;padding-left:1ex">
<div><div dir="ltr">Is it okay if themes create and use their own fallback menus, in the wp_nav_menu() function. </div></div>
<br>_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">theme-reviewers@lists.wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________
theme-reviewers mailing list
<a href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">theme-reviewers@lists.wordpress.org</a>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a></div></div></div></div> </div></div>
<br>_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
<br></blockquote></div><br></div>